4 ms·
For all its quirks, JavaScript is an incredibly concise and easy-to-write multi-paradigm language. For banging out prototype code, it's my favorite tool no matt
by pton_xd 3y ago
For all its quirks, JavaScript is an incredibly concise and easy-to-write multi-paradigm language. For banging out prototype code, it's my favorite tool no matter the domain.
- dan-robertson 3y agoHmm, I think the real advantage is more that you get an advanced cross-platform environment to run it in “for free” – excellent debugger, various ways to do UI, graphics, getting input from the user, etc. For lots of recommended ‘beginner’ languages, this isn’t the case.
- egnehots 3y agofor devops, datascience and ml stuff Python is a good contender
- wiseowise 3y agoPython + JS is a killer combo for exploratory work.
- jauntywundrkind 3y agoLong time huge fan of JS. I appreciate your calling out the multi-paradigm aspect; having these first class functions & prototype based inheritance has been so flexible. TC39 has done a great job shaping the language over the years. New capabilities are usually well thought out & integrate well. Async await has been amazing. The one major miss that makes me so sad and frustrated is modules; js has gotten better everywhere except it's near requirement for build tooling. Being able to throw some scripts on a page and go is still an unparalleled experience in the world, is so direct & tactile an experience. EcmaScript Modules was supposed to improve things, help get us back, but imports using url specifiers made the whole thing non-modular, was a miss. We're still tangled & torn. Import-maps has finally fixed but it's no where near as straightforward, and it still doesn't work in workers, which leaves us infuriatingly shirt of where the past was. https://github.com/WICG/import-maps/issues/2 https://github.com/WICG/import-maps/issues/2