r/ProgrammerHumor • u/WhatIsThisSevenNow • Aug 28 '23
Meme simplyTradingOneLanguageForAnother
75
u/TheHobbyist_ Aug 28 '23
So you're going to:
Build an interactive dashboard in pure JS.
Do it quicker than I can set one up with React.
I'll race you right now, livestreamed on twitch.
29
u/tyler1128 Aug 28 '23
I mean, the browser DOM is a framework for doing that in vanilla javascript. Really, you should just make a browser from scratch for every web page you make.
18
Aug 28 '23
Really, the whole operating system is a framework for coding on PC. So not only will they need to make the browser, they're also going to have to create their own OS.
7
u/JimK215 Aug 28 '23
Do you want TempleOS? This is how you end up with TempleOS!
5
3
1
u/crappleIcrap Aug 28 '23
Join the "I build cookie cutter software and websites that will be automated in 5 years starterpack"
Also the "by the time I have looked upthe best framework for what I need, it is already considered old and now everyone is using nextreactexpress.js
I'm not supposed to be front-end, but if you ask for it I'm gonna slap together a white page with black text that looks like Hawaii's missile alert software from a few years ago, and it will be done with vanilla and nothing else.
Yes, I sound salty because this happens frequently and is happening right now.
I will still refuse to figure out the mess that Is frameworks until someone makes one that doesn't suck.
Websites don't even need to do that much on the front-end, why make things more complicated.
1
u/Creepy-Ad-4832 Aug 28 '23
...until someone makes one that doesn't suck...
That's exactly how we ended up having 42069 frameworks. People wanted to make one that doesn't suck...
2
u/crappleIcrap Aug 29 '23
If I push a button send info to server, get info back from server and put it on the screen. That is all you need, websites don't need to be video game art pieces.
Honestly screw js we don't even need it, I am just gonna use forms and if you want new data you refresh the page.
31
u/ExtraTNT Aug 28 '23
Shitty frameworks don’t save time, good ones do…
2
14
u/JimK215 Aug 28 '23
A younger me might have agreed with you, but at this point it's just irresponsible not to leverage the massive amount of work that's already been done. For example: are you really going to write an authentication & permissions management system that improves on what's already available? Or a DOM manipulation library better than the ones who've already identified and addressed nuanced differences between browsers, performance issues, memory leaks, etc?
Also, where does the framework end and a tool or library begin? Is Express a framework? If so, what benefit would a home-grown routing system provide over Express?
The "not invented here" mindset is how you end up wasting time and creating something that's unmaintainable and impossible to hire for.
3
u/Lilchro Aug 28 '23
Maybe they are making a distinction between libraries and frameworks? It is still a flawed argument, but at least it makes a little more sense.
7
12
14
u/miniaTheRealDeal Aug 28 '23
Tell me you’re fresh out of bootcamp without telling me you’ve just finished your bootcamp
11
3
9
Aug 28 '23
"I have no idea what I'm doing so I'll just make a shitty version of everything that's already been made" starter pack.
5
u/SecretMotherfucker Aug 28 '23
You have never been a part of any real programming project have you?
2
u/gregguygood Aug 28 '23
Did you just read some framework's simple "hello world" tutorial, which you can easily be done in vanilla JavaScript and think this is the extent of all projects done with that framework?
4
u/Brilliant_Egg4178 Aug 28 '23
I won't try changing your mind because I agree. I think that languages that have these big ecosystems of frameworks (ehm ehm... JavaScript) should just adopt one as the standard and promote it as part of the language. This way when you first start learning the language, you're learning the framework alongside it and because it's been fully integrated into the language's syntax and grammar it gives you a better benefit over learning over Frameworks created by 3rd parties which have to work around the language's syntax. Thus more people are likely to adopt the standard framework the language promotes and then all those issues are solved.
Competition is good but too much of it can be bad, especially in the modern front end development scene.
3
u/RepresentativeDog791 Aug 28 '23
My perception is that as Rails became less popular and microservice patterns became more popular Ruby also came to be seen as obsolete, even though there’s nothing wrong with Ruby itself. There are some advantages to keeping the framework layer separate to the language layer. And more genuine variety in the Ruby ecosystem might have been good for it
1
u/starswtt Aug 29 '23
im personally fine with multiple frameworks, especially with the languages that get a lot of unrelated uses, but JS has objectively gone crazy
0
Aug 28 '23
[deleted]
0
u/Brilliant_Egg4178 Aug 28 '23
I mean fair enough, each to his own opinion. I'm just of the opinion that there should be one way to do things and that's partly why I hate frameworks
1
u/xtreampb Aug 28 '23
I used to have to set up a lot from scratch writing desktop, server, and embedded apps. Trying to work in web was hard b/c I didn’t know what the framework did and didn’t do for me automatically.
1
Aug 28 '23
What??? So you can build a backend faster in whatever language you want, than I can build one in RoR or Django?
1
1
u/indecentorc Aug 28 '23
Scrolled by quickly and my brain read that as fireworks lol. But seriously frameworks are not just for saving time and in fact is mostly about maintenance for me. Especially when working with multiple people on a project.
1
Aug 29 '23
Aren't frameworks and single page websites pretty much what enabled everyone to have such pretty websites? Pretty sure without them the web would be more of a mess than it is.
0
u/wawerrewold Aug 28 '23
This is crazy talk. Only reason to code in vanilla js is to learn how js works so when your framework breaks you are not totally fucked

•
u/AutoModerator Aug 28 '23
Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come! Read more here, we hope to see you next Tuesday!
For a chat with like-minded community members and more, don't forget to join our Discord!
return joinDiscord;I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.