ideas-computer-jasper-jasperSafetyNotes1

Difference between revision 1 and current revision

No diff available.

"Swift eliminates entire classes of unsafe code. Variables are always initialized before use, arrays and integers are checked for overflow, and memory is managed automatically."

--

apparently, one good effect of the requirement that every variable be used in Golang is that it forces programs to check return values

--

[–]jfagercontributor 16 points 22 hours ago

Looks like the safety features are: static types, forced initialization, Option, arc, no automatic coercions, bounds checking.

I don't see anything in the book about concurrency.

    permalink

[–]scribble_child 12 points 17 hours ago

For the lazy, arc ≡ automatic reference counting.

    permalink
    parent

--