this post was submitted on 28 May 2025
1347 points (99.2% liked)

People Twitter

7169 readers
2806 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a pic of the tweet or similar. No direct links to the tweet.
  4. No bullying or international politcs
  5. Be excellent to each other.
  6. Provide an archived link to the tweet (or similar) being shown if it's a major figure or a politician.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] naught@sh.itjust.works 3 points 1 week ago* (last edited 1 week ago) (1 children)

I don't think you're entirely wrong here, but you make sweeping generalizations about programmers that I see a lot online that irk me.

Most developers I know have a few languages they're familiar with. A good developer uses the right tools for the job. When I work with my python shop I use that. When I need a quick webapp it'll be JS. If there's something that requires high performance I might try go.

Every language has pitfalls and vulnerabilities, but that really says nothing of their utility. Any flame war between languages is typically pedaled by dilettantes fueled by memes they don't understand (like javascript == memes)

take this admittedly ancient study of vulnerabilities divvied up by language:
https://www.zdnet.com/article/which-are-the-most-insecure-programming-languages/

In JS, you don't have to free memory manually. Nor in python. This (mostly) precludes a whole class of severe bugs/vulns, but those weren't relevant anyway because they're different tools for different jobs.

We can bemoan the gigantic js ecosystem, but we can also realize it is a fantastic resource for novices and veterans alike.

[โ€“] sxan@midwest.social 5 points 1 week ago

you make sweeping generalizations about programmers that I see a lot online that irk me

I've been a professional programmer (like, paid, career) since 1995. I moved into management in 2012 and managed software teams and then development organizations. I've worked with a few good developers, a lot of mediocre ones, and a few truly bad ones. It is shocking how few career developers can't explain big-O notation or, even if they don't remember the terminology, do a basic time/space cost calculation for a piece of code. How many think hash tables are the fastest storage structure. How many will blithely write nested loops and recursive functions.

It's a bell curve, but IME anyone to the low side of the median tends to cause as much work for other people as they contribute.

So I don't causally use those generalizations; they're born out of 30 years of experience in industry.

As for JavaScript, there's no better proof than the web. Take any web page at random and odds are good there's going to be more bytes of JavaScript than content on the page. Or, run top and watch which application sits at the top of your CPU and memory use - I can almost guarantee that, over the course of an average day, the thing that burns the most electricity is going to be your web browser. Shit, I can be playing Factorio and see it using less CPU than a WebKit process, because some stupid web page I left open is spinning crappy JS code in the background.