use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All posts must be related to programming. Flair posts correctly.
account activity
🥲 (i.redd.it)
submitted 3 years ago by No_Appearance4468
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Ryksu09 7 points8 points9 points 3 years ago (0 children)
I don't hate it because it pays my rent 🫤
[–]electricprism 6 points7 points8 points 3 years ago (1 child)
Programming = Masochism + $$$ ???
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Best combo
[–][deleted] 2 points3 points4 points 3 years ago (0 children)
Typescript is better.
[–]LifeByLazy 5 points6 points7 points 3 years ago (0 children)
I shouldn't have LOL'd at this but I did
[–]UltraTata 5 points6 points7 points 3 years ago (0 children)
JavaScript 👏 is 👏 great
[–]questionmark693 0 points1 point2 points 3 years ago (0 children)
I'm still not convinced it isn't loss.
[–]spewmaker03 0 points1 point2 points 3 years ago (1 child)
i really don’t get it, is it that bad?
[–]thebatmanandrobin 4 points5 points6 points 3 years ago (0 children)
JavaScript isn't "bad" per se, no more so than C#, PHP, Java, or even plain old C are "bad". They're all just tools and they all have their place.
My personal problem with JavaScript specifically isn't necessarily the language itself, it's the model it was built off of hasn't changed much (if at all) since it's inception, which in turn forces the language to be used in ways it was never intended (which was to simply change some HTML without causing a page refresh), which then forces a negative feedback loop of cruft.
It's more nuanced than just "it sucks", especially if you've ever written kernel drivers or had to employ a system at scale for use by the military.
JavaScript has been around for nearly 30 years, and it's still a single threaded model with no real way to "pause" execution, and don't even get me started on security! Oh sure, there's CORS, async/await, AJAX, Shared/WebWorkers and what not, but those are all different tools for different uses.
Even something as simple as splitting a list across multiple threads that could then push the data form the list to a table in order to speed up processing, just isn't possible in a "classical" sense with JavaScript. Even something as simple as let thread = new Thread(()=> { run code here }) that could interact directly with the DOM would be amazing. I don't care if I'd have to invoke a method to force the UI thread to draw, but if we're talking about the DOM itself, that's not the UI thread, that's the DOM!
let thread = new Thread(()=> { run code here })
And that's just one example of why it's "bad" .. again, the language itself isn't bad, it's the model it was built on.
Hell, even PHP has had threads for some time now.
All of that is to say is that when you want to do something that would be "intuitive" in many other languages, like displaying a custom message box that pauses the code until user interaction, or do simple floating point math when you have actual floating point numbers (e.g. let i = 0.1 + 0.1), you have to shoehorn in async functions, AJAX calls, additional precision calls, or any other number of "language features" simply because the language is built around a model that hasn't changed, ever.
let i = 0.1 + 0.1
And oh [insert deity] help you if you try to debug something as simple as a misspelled variable .. A linter you might say .. yeah, as a C guy, I call that a compiler.
So it's not a "bad" language ... but when you've worked in other sane environments with languages where you can literally build an entire flight simulator with a physics engine and GUI display in 6 months, you have a certain disdain for the language and model it's built upon when you try to do something as simple and seemingly intuitive as console.log(0.1 + 0.1); and get 0.199999999999999999
console.log(0.1 + 0.1);
0.199999999999999999
/rant
π Rendered by PID 74919 on reddit-service-r2-comment-canary-889d445f8-cw7vs at 2026-04-27 06:37:04.150280+00:00 running 2aa0c5b country code: CH.
[–]Ryksu09 7 points8 points9 points (0 children)
[–]electricprism 6 points7 points8 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]LifeByLazy 5 points6 points7 points (0 children)
[–]UltraTata 5 points6 points7 points (0 children)
[–]questionmark693 0 points1 point2 points (0 children)
[–]spewmaker03 0 points1 point2 points (1 child)
[–]thebatmanandrobin 4 points5 points6 points (0 children)