this post was submitted on 19 Apr 2025
15 points (89.5% liked)

Programming Circlejerk

230 readers
1 users here now

Community to talk about enlightened programming takes

Rules:

founded 6 months ago
MODERATORS
all 4 comments
sorted by: hot top controversial new old
[–] rutrum@programming.dev 7 points 3 months ago

Only a web dev could be fooled into being a gopher

[–] FizzyOrange@programming.dev 4 points 3 months ago

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.

I don't know why

But when I am able to write map, reduce, case, set, hashmap, bindings in a language that compiles without referring any doc.

My mind just start having an illusion that I have mastered the language 😂.

And The language that have muteable state, I don't consider them trustworthy 😛. That's why I have started loving Erlang over js.

I am not blaming javascript for a being single threaded and stateful, but it's damn easy...

Thoughts?