logoalt Hacker News

jonathanstrangetoday at 8:52 AM2 repliesview on HN

[flagged]


Replies

conradludgatetoday at 10:01 AM

I miss the clear distinction between exclusive access and shared access when I work in GC languages. Knowing clearly when you are allowed/expected to modify a value, and when you are expected to only read the value ends up being very useful and it has poisoned my brain when working in Python/JS/Go where some values are internally pointers and there's no standard to learn once for when a mutation is safe or if you should always make a copy

show 1 reply
zigzag312today at 9:13 AM

Reference counting is a form of garbage collection.

show 1 reply