3 ms·
I can't remember anyone ever claiming javascript/node made their code cleaner. Speed and throughput were claims but not code quality.
by zaphar 11y ago
I can't remember anyone ever claiming javascript/node made their code cleaner. Speed and throughput were claims but not code quality.
- dilap 11y agoI've been coding since forevs, and I really do feel like Go pushes you to keep clean code. Maybe the language, but a lot of it's just culture and leading by example. Every time I peak into the source of a standard Go package, I'm blown away by how clean and simple the code is -- and it's a fantastic way to gain a deeper understanding of the language. That has mostly not been my experience diving into std C library code, or quasi-standard stuff like boost...
- facepalm 11y agoI like the aesthetics of JavaScript. It makes the code cleaner because it doesn't require so much boiler plate. There - I said it :-) Oh and compared to Go, I always point to sorting in Go. Just look up the library. I think it's awfully complicated, compared to JavaScript where you simply pass a comparator function. In Go you need a lot of lines to achieve the same thing.