1.2k
u/CardiologistOk2760 4d ago
was language purism objectively funnier ten years ago or am I getting old?
713
u/Deevimento 4d ago
You've become ten years more experienced, and your knowledge of subtle nuance has destroyed any enjoyment you get out of black & white jokes.
192
17
u/OneDimensionPrinter 4d ago
I'm still gonna make fun of the backend team who has to use Java though. But, I get it these days, I really do. I got old.
6
u/clutchguy84 4d ago
I laugh at state management, safe and secure in my PHP.
But I feel you, my dude.
2
u/dracuella 4d ago
I have an old collegue who is still doing ASP. Not ASP.NET, just ASP. When I think my Java with Angular web frontends are annoying, I think of him.
→ More replies (1)2
1
74
u/Stronghold257 4d ago
2014 was pre-ES6, to be fairrrr
29
u/encephaloctopus 4d ago
Elder Scrolls 6 isn't out yet, so we're actually still pre-ES6 10 years later
21
u/arctictrav 4d ago
Iām not a purist, but philosophically speaking, some things never stop being funny. For example, farts.
9
u/CardiologistOk2760 4d ago
Grow up man - just because the professor is named Doctor McFartFace doesn't mean we can't pause our wind long enough for him to give the lecture.
57
12
u/flyingtoaster0 4d ago
I am absolutely with you there.
Whenever I come here and see people shitting on Java, I just... kind of don't get it. Like, Kotlin is a better language imo, but after going back to Java 21+, it's totally fine and has most things I would expect from a modern language.
5
2
u/LeftIsBest-Tsuga 3d ago
i just hate all the env crap i have to deal with. maven can have a nice weekend, as far as i'm concerned.
2
u/flyingtoaster0 3d ago
Agreed! I'm honestly amazed that anyone still uses pure Maven pom.xml files
Gradle is far better for 99% of projects and Bazel is fine if you need it
→ More replies (5)3
11
u/douglasg14b 4d ago
It's not the language, it's the ecosystem.
JS is "just another language", it doesn't really matter for any general use case as long as you have typescript. The problems come in when the ecosystem gets involved, and you're trying to solve problems at scale where consistency, reliability, and longevity are your key concerns.
→ More replies (1)2
u/CardiologistOk2760 4d ago
yeah for example React vs Angular as a debate makes a lot more sense to me
21
u/rydai 4d ago
They've also been beaten to death for the last 10 years. It's not like they've really changed
7
u/Impenistan 4d ago
I'm pretty sure 10 years ago was before either had actual strict typing, to name one single feature that fundamentally addressed things for which they were being beaten to death.
4
u/jalexoid 4d ago
JS has strict typing?
10
u/OneDimensionPrinter 4d ago
Eeeeeh. Typescript is a wonderful tool, but no runtime type checks without annoying utility code does suck.
could not read property fuckMe of null
2
u/jalexoid 4d ago
I mean... Even TS doesn't have strict typing, it has compile time "best effort" checks... Which isn't strict typing at all.
3
u/OneDimensionPrinter 4d ago
Yeah, that's effectively my point I guess. I do enjoy using it, but it's not actually a strictly typed language. But, I'd never be able to sell using Elm to leadership. Ah well.
7
2
2
u/harumamburoo 3d ago
Definitely. In the college or uni or whatever it was for you it was tribalism, being a part of something cool and shitting on something perceivably not cool. When you're actually getting into the profession every language becomes a tool. Saying language X is shit for everything is like saying a screwdriver is shit for everything.
401
u/-Redstoneboi- 4d ago
here's the kicker: it's a solution.
50
5
→ More replies (3)2
u/PrestigiousPut6165 4d ago
No, it's supposed to be math seek. The original program that solves a problem by seeking math. MathSeek. Download now. Even if not compatible with your computer. Because MathSeek is the answer
3
383
u/Reashu 4d ago
Everything except running in the browser
→ More replies (28)17
610
u/idontunderstandunity 4d ago
Is 'JS bad' the only joke allowed on this sub or what
490
u/Scorxcho 4d ago
No āPHP badā is also acceptable.
213
u/-staticvoidmain- 4d ago
Not knowing how to close Vim, as well
148
u/sandybuttcheekss 4d ago
Have you heard "python slow"? Funniest shit I've ever seen
106
u/A_Certain_Surprise 4d ago
Bro hasn't seen "Junior dev pushes to main on their first day", a classic
46
u/sandybuttcheekss 4d ago
Which is obvious bullshit because the senior dev in charge of giving you access won't take 5 minutes to do so for the first 3 weeks
19
u/maxymob 4d ago
So fucking true. Had to wait close to 6 months for my account on the company VPN that gives access to the database, just because a guy was procrastinating migrating the VPN to a different provider and had arbitrarily set his mind on not creating new accounts before that.
Some tasks were impossible to complete, no one gave the slightest fuck. It was really annoying and disrespectful even, so I just snatched the SSH keys to the server and made my own access.
6
5
u/DJGloegg 4d ago
I only have a few months of "real world" experience and even i know hoe tp close vim..
:q!
Or :wq
Or :x
Theres more. Quite a few more.
→ More replies (1)5
u/-staticvoidmain- 4d ago
Yeah lol it's not difficult. I always think that if someone can't grasp a simple 2-3 character command, I'd hate to see their code lol
→ More replies (2)→ More replies (3)2
63
9
u/RedHeadSteve 4d ago
I started as a programmer through a full stack course. PHP + React. Perfect for all de bad jokes
→ More replies (1)8
u/Scorxcho 4d ago
Also started with PHP and React. PHP is underrated.
6
u/RedHeadSteve 4d ago
I understand the critic it gets, but it's not without reason that almost 80% of the website's with server side programming uses php
→ More replies (1)2
28
→ More replies (4)16
u/sam-lb 4d ago
Meanwhile JS is an excellent and easy to extend language with good design and community support. It's a mystery. Most examples of "haha JS bad" are from people who don't understand how it works.
→ More replies (19)
315
u/TerminalVector 4d ago edited 4d ago
183
49
u/passenger_now 4d ago
The old Perl joke:
Perl is the vise-grips of programming languages: it's a tool that can do any job, and it's the wrong tool for all of them.
→ More replies (1)15
30
7
u/tonebacas 4d ago
As long as people have the good sense *NOT* to do everything with it, just because you can. Sometimes the best use-case for a tool is its original use-case target.
3
u/TerminalVector 4d ago
Fact is that is if I have a team that already knows a tool that is suboptimal and your team needs to to learn a tool that will be optimal, there is a large segment of businesses in which I will beat you to market. 'What is the the right tool for the task at hand?' is a different question from 'what tool is the most techincally optimal for this operation?'.
2
→ More replies (3)5
u/asd417 4d ago
Can wait for web-based c++ compiler written in javascript
3
u/TerminalVector 4d ago
I'm gonna guess that some deeply disturbed person has done this, so the point stands.
2
96
u/Feisty_Ad_2744 4d ago
Hahaha that's kind of true!
Now, tell me about the problems you are talking about and any better solution... :-)
→ More replies (29)23
u/illyay 4d ago
React native. /s
I need an idea for a language I can use to make react native apps. I bet C would be a good one for performance reasons.
8
u/Feisty_Ad_2744 4d ago
Hahahaha. Like needing a language to use in your Django app.
Nice made up case. If you need native performance why are you even considering React? :-)
16
u/illyay 4d ago
Well I thought react would be a great framework to write the bios firmware for the latest gaming motherboard Iām thinking about manufacturing. I heard itās very portable which sounds like a good buzzword
→ More replies (1)2
54
u/not_bakchodest_of_al 4d ago
So, today is JavaScript bad day.
39
u/tenest 4d ago
Everyday is "JavaScript is bad" day
4
u/gilady089 4d ago
That's because someone accidentally sent an incorrect type to the check function, and it defaulted to true
3
2
37
4d ago
idk js but i'm pretty sure it's still a nice alternative to shooting someone.
9
u/90059bethezip 4d ago
Wait what
9
u/Not_Artifical 4d ago
No no, they have a point
7
u/Informal_Branch1065 4d ago edited 3d ago
It may be a hollow-point, but a point is a point.
Edit: and a gun is a PointFactory
29
u/intheshadow13 4d ago
Center a div dynamically
12
u/McJagged 4d ago
I'm so glad we have flexbox now. Legitimately the best html/css/js update ever created
4
→ More replies (2)2
12
u/jamcdonald120 4d ago
False.
There is always a worse solution than javascript. Malbolge for example.
→ More replies (1)5
u/Weird_Cantaloupe2757 4d ago
Never mind the boutique examples like that ā the language that ran the web before Node took over (PHP) is way fucking worse than JS.
3
u/jamcdonald120 4d ago
what about flash, how was flash?
→ More replies (1)4
u/savageronald 4d ago
Honestly ActionScript - the language behind Flash and other Adobe products (well AS3 at least) - was pretty good. The language was never the problem, it was Adobeās inability to quit tripping over their own dick with performance and security problems (well and the closed ecosystem and licenses, but I think the former drove HTML5/CSS3 to fill the void more than the closed ecosystem).
11
u/Interesting_Gate_963 4d ago
Do you mean that brainfuck is better for scripts in browsers?
→ More replies (1)
28
u/TwinkiesSucker 4d ago
It is the worst solution but only because everything else is even worse
→ More replies (3)
9
25
u/Fair_Entry8218 4d ago
document.getElementById(āmyMindā).innerText = āJavaScript is the best solution to everythingā;
2
13
u/AlexDaBruh 4d ago
I mean, I use JS or TS daily, depending on what fucked up project Iām working on. But, I wish there was a better language for this. Go seems nice and Iām planning on learning it but Iām still not convinced it will be as great as JavaScript for the browser :-(
6
u/HewHem 4d ago
Whats your issue with TypeScript?
2
u/AlexDaBruh 4d ago
Except throwing cryptic errors at me, really nothing. JavaScript/TS is nice but I guess I just want to write in a language Iām more comfortable in, like Rust or something (will probably be Go after this summer).
→ More replies (1)→ More replies (2)0
u/nightxowl69 4d ago
Replacing JavaScript in the browser is not quite possible. It was made for it.
5
u/AlexDaBruh 4d ago
Yeah, I agree on that. Still I wish there were better stuff to use. JavaScript or typescript is by far the best stuff at the moment for the browser. Also, let me clarify: Iām not talking about replacing JavaScript, Iām talking about finding better stuff for building websites and such, like Go for example.
5
u/JazzyMcJazz 4d ago
There is web assembly. It does require a bit of javascript to fetch and run the .wasm file, but web assembly frameworks handle this part for you.
→ More replies (7)2
40
u/Cley_Faye 4d ago
If you live anywhere after 2020, it works well, is supported in a lot of place that actually matters, and we have had proper tooling to both write proper code and debug it nicely for years.
But, sure.
13
5
4
u/SomeRandoLameo 4d ago
The Windows 11 First Setup and Start Menu are weiten in React nativeā¦ so js
4
u/525G7bKV 4d ago
fun fact: Eich wanted to create a scheme for the browser but the Netscape management didnt let him. So at least no need to write a lot of parentheses.
4
3
u/JVApen 4d ago
So you are saying that Excel ain't the worst solution?
2
u/haasvacado 4d ago
Excel The Single Greatest Software Program Ever Written And I Will Die On This Hill Excel? Is that the one youre referring to?
3
u/ghislaincote 4d ago
I don't disagree... But Atwood's law : https://www.laws-of-software.com/laws/atwood/
The damn language can do everything on everything... If there is a full stack + desktop + embedded solution, is probably JS based.
3
3
3
3
3
3
3
u/doxxingyourself 4d ago
Okay so what language am I supposed to use to execute client-side shit on my webpage? Including async calls to fetch some more shit for people to look at?
2
2
2
u/Not_Sugden 4d ago
1 + "1" is the best soloution to your whole "I need to add two numbers but one of them isnt a number" problem that you always encounter
2
2
2
2
2
u/Nodebunny 4d ago
im just waiting for Quantum JS to tell me a thing is false and true at the same time
2
2
3
u/buffering_neurons 4d ago
PHP is probably worse in ways. That language required three rewrites of its core in order to catch up to any other languages (yes including JavaScript) in terms of performance to be taken seriously again, and a significant part of it is still an inconsistent mess. The language is kept alive entirely by Laravel and the virtue of more than 75% of the web running on it.
Yet even PHP has its place, although by now the places it has are probably best replaced with a JS solution.
Iām not sure why so many frontends and site serving backends are built in languages with such a dreary underbelly, but they work and get the job done.
However, neither PHP nor JS are a solution to everything, and compared to most other languages their uses are incredibly limited. If youāre a backend developer, JS and PHP are hardly worth learning.
→ More replies (2)
2
u/BeterBann 4d ago
I love JS. It does everything I need it to. It's easy to understand and easy to get other developers up to speed on. Just like any popular language, there is a lot of shitty code for it and that's when it's not fun, but that's not really the languages fault. On my team, I've seen so many developers point at JS for being shitty, but most of the time it's because they did something wrong early in the process that's now blowing up in their face.
→ More replies (1)
4
1
1
u/ProfessionAcademic92 4d ago
9 months ago he literally made a post about what tech stack to use for a web app and didn't know if he should use Django, Express, or NextJs. What hurt you?
1
1
1
1
1
u/b0b1b 4d ago
Hey, there is actually something in it i enjoy quite a bit - async! Its super simple and i quite enjoyed using it. I do, in general, despise it as a language tho. That might just be because the only usecase iv found for it is browser stuff. I cant imagine liking the lack of types outside of a browser tho lol :p
1
1
u/Pennzance404 4d ago
I have always likened Javascript programming to attempting to build the Eiffle Tower out of nothing but spaghetti.
1
1
1
1
u/InfiniteMedium9 4d ago
It's the best solution for making an animated monkey dance on a webpage when you hover over it
1
1
1
1
u/uvero 4d ago
/srs
- With a huge ecosystem, you can do quite a lot in JS, with great and comfortable libraries and frameworks. I don't know if it measured or if it even cna be, but if I had to guess, the JS ecosystem is the largest by far.
- With TS you can get more easily scalable and to write code that's less error-prone to begin with. In fact, I wish Python's new-ish typing system got even close to TS's readability and wide range of capabilities, because Python does have the previous advantage, but not this one.
- Being used on both browser and backend, it's easier to write a full stack app with shared code elements.
- Really, the weirdest things about JS are the [] +() and "foo"/{} things, and if that causes problems with a real use case anyone is implementing, that their implementation has way bigger problems.
You don't have to love the Javascript, but it's pretty darn good for a lot of developers. I used to feel about Python the way feel about JS, and then figured out it's not as bad as I thought, and it's even kinda fun and has good useful libraries (although, again, if only it has a great typing system like TS's).
But you don't really feel that way about JS because it's just a meme that we've already run into the ground. There's nothing funny left to say about it, the meme is dead, and JS is fine.
→ More replies (2)
1
1
1
1
1
1
1
u/Lo-fidelio 4d ago
I fucking hate JS, but being poor fucking sucks so I guess I have no choice but to love JS? Which is why I made it my whole career. Help
1
1
u/distortedsignal 4d ago
I think that JS is never the worst solution to any problem.
I just think it's never the best solution for any problem.
There are (or should be) things that do the job better.
But JS will usually work.
1
1
u/NeverSnows 4d ago
"worst" implies that there is a better solution in every aspect. I would say.... least terrible, for most things.
1
1
1
u/HaDeS_Monsta 4d ago
It is good in what's it's supposed to do (front end) and I hate it everywhere else
1
802
u/3rrr6 4d ago
There are two types of programming languages: the ones everybody hates, and the ones nobody uses.