this post was submitted on 19 Apr 2025
14 points (88.9% liked)
Programming Circlejerk
156 readers
1 users here now
Community to talk about enlightened programming takes
Rules:
- read and follow the programming.dev code of conduct
- no flamewars
- mark your unjerks
- only programming related content allowed
- link to the original source
- do not mention this community in places like hackernews, lobste.rs, or the general programming communities on Lemmy where we source jerk material from.
founded 2 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sounds dumb but maybe they are trying to say they don't like languages where everything is implicitly a references (Java, JavaScript, Python, etc.) and they prefer languages where references are explicit and objects can be easily copied (C++, Rust, Go).
In which case I totally agree. Making everything a reference is a lazy hack to get decent performance at the cost of unintuitive semantics (pretty good interview questions!) and making actual copying unreasonably difficult.
Until relatively recently the recommended way to deep copy an object in JavaScript was to serialise it to JSON and back.