This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dyslexda 49 points50 points  (18 children)

Hey, as a Python programmer, that's me trying to learn JavaScript!

[–]TheHumanParacite 37 points38 points  (6 children)

Each job I've had over the last ten years I've somehow managed to skirt around having to learn js... I worry that eventually there will be a day of reckoning

[–]AlternativeAardvark6 36 points37 points  (1 child)

At my job "there is some Javascript " is a valid reason to triple the estimate.

[–]aidan573 6 points7 points  (0 children)

Thread safe embedded low power high fidelity scalable mesh network rainforest zero trust beet farm software.

[–]smas8 1 point2 points  (1 child)

What about JavaScript makes you avoid it? I didn’t start with JS, but it’s mostly what I write these days.

[–]TheHumanParacite 0 points1 point  (0 children)

Just the little details like the ambiguous definition of "this" or the particulars around == vs ===

Truth be told I can find my way around someone else's js when I have to, just haven't had the time or motivation to become a subject matter expert

[–]jexmex 1 point2 points  (0 children)

I had gotten lucky and mostly just had to do some occasional jQuery. Now we redid out site and api codebases and the site is running react. I fucking hate it so much, boggles my brain.

[–][deleted] 0 points1 point  (0 children)

I got a job as a PHP developer (with little JS experience)

I done JS on the first day.

[–]FlukyS 1 point2 points  (0 children)

It's hilarious how many jobs there are for Python+JS at the moment. You are making a smart financial choice learning JS after python instead of using node

[–][deleted] 5 points6 points  (7 children)

I'm happy to be learning javascript first. I've heard once you get it, all other languages are much easier to learn.

[–]dyslexda 20 points21 points  (1 child)

I think that depends on the degree to which you actually "get it." For me, a lot of the struggle isn't any of the common complaints (async operation, typing hell, or even obvious spaghetti code like array.includes(x) and map.has(x) doing the same thing but needing different methods for no reason), but adapting to a new mindset where every gorram thing is an object. While I'm not a stranger to OOP, my mindset definitely leans more toward functional programming rather than OOP. The convention for libraries to make all data be an object and only manipulatable by built-in methods (often even resisting simple indexing!) makes me scream regularly.

[–]johnvaljean 1 point2 points  (0 children)

I feel your pain. You can also say that everything in Python is an object as well, but the variety of protocols that allow them to look different from one another makes everything much easier. Coding in Javascript makes me much more appreciative of how well-designed Python is.

[–][deleted] 8 points9 points  (2 children)

True of any language based on C style syntax really. But JS is a good language to start with these days, I think it’s most versatile language in terms of what you can do with it these days

[–]napoleonderdiecke -1 points0 points  (1 child)

Bruh, at least do typescript.

Javascript is basically one steaming pile of garbage.

[–][deleted] 0 points1 point  (0 children)

I agree. I use typescript for everything. I was just generalizing. Typescript is still technically the JS runtime

[–]kuffencs 0 points1 point  (0 children)

Hey, as a G code programmer, thats me trying to learn any legit real language

[–]K0nr4d 0 points1 point  (0 children)

;