News for hackers. Stuff that matters.
Re:Advice to my younger self: become allergic to the churn by tenaciousDaniel on Thursday August 08, 2019 @12:02PM (#20645729)
I'm a JS dev and I love it, but JavaScript is to programming languages what the electric guitar is to musical instruments.

It's the thing that attracts a lot of new beginners who may or may not be interested in the more serious theory that makes programming what it is.

Re:Advice to my younger self: become allergic to the churn by _bxg1 on Thursday August 08, 2019 @01:41PM (#20646685)
Agreed. I've gotten to where I don't like it as much for really large projects - TypeScript helps a bunch but is inherently limited by aspects of JS itself - but there is absolutely no language I'd rather sketch something out in.

The core data types actually strike a really excellent balance between representing the major distinct paradigms (named collections, unnamed collections, strings, numbers, booleans) while giving you maximum flexibility within them. Its standard library - array functions in particular - has become very mature. FP and OOP concepts are both quite well-supported, and doing async stuff (client or server or otherwise) with promises just smashes every other language I've used in terms of ergonomics.

Much of the above could be said about Python too, but regardless.

Re:Advice to my younger self: become allergic to the churn by tenaciousDaniel on Thursday August 08, 2019 @01:51PM (#20646781)
Yeah definitely, it's amazing for scratching together ideas. Though at a certain scale, it starts to feel pretty fragile. I don't have much experience with other languages but the explicit interface/implementation paradigm that Objective C used was so amazing to me (as someone who started out in JS). I find myself missing it every now and then, especially for large projects.
Re:Advice to my younger self: become allergic to the churn by rxhernandez on Thursday August 08, 2019 @12:05PM (#20645756)
Have you worked in other languages for substantial amounts of time?
Re:Advice to my younger self: become allergic to the churn by filoleg on Friday August 09, 2019 @01:59PM (#20656805)
Yep. Python for many years, Java+TurboPascal+C# for a couple of years, C+Matlab for a bit under a year, and a few other ones that I wouldn't list simply due to how little work I've done in those.

TypeScript and Python (with typehints) are the current favorites. Golang seems to be getting up there for me too, but I don't have enough experience with it to actually be able to say that.

Re:Advice to my younger self: become allergic to the churn by celim307 on Thursday August 08, 2019 @01:17PM (#20646417)
I used kotlin, golang, and ruby for multiple. not a huge sample of languages but i still like es6 javascript the best
Re:Advice to my younger self: become allergic to the churn by tenaciousDaniel on Thursday August 08, 2019 @12:22PM (#20645913)
I did Objective C for about 1-2 years, and a bit of java over the years. But no, not really.
Re:Advice to my younger self: become allergic to the churn by rxhernandez on Thursday August 08, 2019 @01:13PM (#20646380)
Fair enough. Thank you for taking the time to a question that, in retrospect, sounds antagonistic (apologies for that).
Re:Advice to my younger self: become allergic to the churn by tenaciousDaniel on Thursday August 08, 2019 @01:34PM (#20646600)
Nah, I didn't take it that way
Re:Advice to my younger self: become allergic to the churn by marshray on Thursday August 08, 2019 @01:51PM (#20646793)
Also, it's used with high levels of added distortion.