Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "why javascript why"
-
Client: Why did you use Vanilla JavaScript? Even my child doesn't eat vanilla.
Me: Uhh..., you realise we are not talking about ice-cream right?
Right?
RIGHT?8 -
Person: Your website doesn't work.
Me: Why?
Person: Nothing happens when I click.
Me: Did you disable JavaScript?
Person: Yeah, sounds shady.6 -
*Posting screenshot about random stuff*
Typical comment: Why are you using light theme, oooh my eyes 😨
*Posting something related to Windows*
Typical comment: Why are you using Windows, use Linux like "pro", btw I am using Arch 🙄
*Posting something related to IDE*
Typical comments: use vim, why are you using that
*Posting something related to Java*
Typical comment: Java is slow ( 🤮 ), use Python it's cool.
*Posting something related to JavaScript*
Typical comment: js is cancer, get rid of it and use {some_other_language}
Just a normal day on devrant 🤷
(not mentioning of course non dev related sick comments)
to be continued41 -
Fuck MatLab. Fuck Mathworks. Why the fuck do I still have this fucking piece of shit on my computer? Even its logo makes me want to puke.
You think JavaScript is bad? Try MatLab, JavaScript will look like a saint.
You are still virgin? Try MatLab, it will fuck you hard.
Give me one fucking engineer who has to use MatLab and love its nonsense, I dare you!31 -
Why do people say that PHP sucks and at the same time use Javascript? I call that being a hypocrite.22
-
Just spent 30 minutes trying to work out why my page will not load a JavaScript file even though I could manually browse to the file:
<link rel="stylesheet" type="text/js" href="js/home.js" />
I then proceeded to take a 5 minute walk around the office and rethink my life decisions...5 -
PHP sucks
JavaScript sucks
Python sucks
C sucks
C++ sucks
Apple sucks
Microsoft sucks
Linux based operating systems suck
Vim sucks
Emacs sucks
$IDE_OF_CHOICE sucks
Docker sucks
The way we talk about our tools makes we wonder why we do programming in the first place.23 -
"I hate C# and Java because compiling takes forever. That's why I use JavaScript."
npm install && gulp
...9 years later...13 -
Me: why do people hate javascript?
Also Me after 5 mins of js coding :
Oh right now i remember why8 -
C#? Should have used Java
Java? So much boilerplate, use node
JavaScript? Terrible language, get some types
Typescript? Lipstick on a pig
PHP? Gross
React? Should have used Angular
Angular? Should have used Vue
Vue? Why aren't you using jQuery + HTML
VSCode? Use vim instead
Stfu, no one gives a shit about your biased closed minded opinion. Your users really don't care what technology you use, so long as they're happy.14 -
My company wants to start using Node.JS.
JavaScript.
They wanna use JavaScript.
For everything.
JAVASCRIPT.
FOR EVERYTHING.
Scene;
**Asshat enters break room after meeting**
**Asshat turns to Asshole**
Asshat: “Oh here in a year or two we’ll just be rewriting all of this is Node.JS.”
Asshole: “JavaScript. You’ll be rewriting it in JavaScript. And fucking WHY?”
Asshat: “It’s better”
Asshole: “It’s not really a general use language. Why wouldn’t you guys choose Python if you wanted to write EVERYTHING in a goddamn scripting language?”
Asshat: “Google uses Node.JS”
Asshole: “For back-end web development type stuff. I doubt their accounting systems are written in fucking JavaScript...”
Asshat: “Python is oooooold.”
Asshole (to himself): No you’re old, you stupid, ancient fuck.
**Asshole rolls his eyes and walks away**
**Asshat continues his ignorant chuckling**
End Scene;
Clearly years of fixed format RPG programming has killed too many of Asshat’s brain cells.12 -
Recently i had to interview a guy with 10 years of frontend experience for a react developer role
Me : Do you know what ecmascript is ?
Him : Yes
Me : Which version would you prefer to use and why ?
Him : I dont use it. I am more comfortable with JavaScript.
Me : (totally confused) 😶
Him : (trying to be oversmart) I know you young guys prefer to use these fancy frameworks because you dont know how powerful raw javascript is.
Me : (Trying hard to not "react") Ok.
How would you "react" to this ?31 -
Okay it's called devRant - so I'll rant...
Why the fuck do people write comments like that:
$savesThisStuff = "stuff"; # does save stuff
Why are here 1500 lines from which there are 700 outcommented code and 300 dead functions which aren't called anywhere?
Why the fuck is here PHP code which generates JavaScript inline which itself generates STATIC (!!) HTML.
------
"Always code like the one maintaining your code next is a violent murderer with an axe and you'll still be save."
... Where's my axe again?9 -
"Why can't I just get the terminology right in my head"
java: map.
javascript: object?
python: dictionary!
ruby: HASH!
php: aSsoCiaTiVe aRrAy14 -
Why am I able to write a quick search algorithm in JavaScript but am not able to talk to girls?
Shouldn't the second one be easier than the first one?
Shouldn't every human being be able to do the first one?298 -
Once had a guy who wrapped all his code in:
for(var i = 0; i < 1; i++){ }
Still wakes me up at night..5 -
DO NOT USE JAVASCRIPT FOR PUBLIC WEBSITES IF YOU DON'T KNOW HOW TO USE IT!!!
Almost every fucking day, I click a fucking button and NOTHING HAPPENS. I open the console and find tens of JavaScript errors, that *I* have to debug and fix in order to proceed.
FUR FUCK SAKE, JavaScript is not strictly needed, those fucking React and Vue are also not needed. Just now I wanted to download a form: IT'S A FUCKING PDF FILE, why the fuck are you putting your broken JavaScript function to let me download it!? PUT A FUCKING DOWNLOAD LINK YOU FUCKING MORON!
Nobody is forcing anybody to use JavaScript or those fucking fancy frameworks, SO WHY THE FUCK PEOPLE OVERCOMPLICATE THINGS THAT USED TO WORK SO WELL!14 -
Why do Pokemon masters love JavaScript?
Because you gotta, try/catch them all
Haha. No laughs? Okay
*curls into a ball7 -
Senior Dev: "-bleep- I hate Javascript. It is such a pain to have to debug in Chrome"
Mgr: "Why are you 'having to' debug in Chrome?"
-in an almost 'you didn't know?' condensing tone -
Senior Dev: "Because you can't debug Javascript in Visual Studio."
Me: "Umm...pretty sure you can."
Senior Dev: "No, its impossible. I have to make a simple change in Visual Studio, save it, deploy all the files to the server, restart IIS, open up Chrome and use it's developer tools to find bugs. -bleep- Javascript sucks sooo bad."
-I do a quick search on stackoverflow-
Me: "No, I'm looking right at it on stackoverflow. You can debug Javascript in visual studio just like anything else."
- Mgr looks over and smiles, not trying to laugh -
Senior Dev: "Hey, did you watch that scene in Stranger Things...man thats a good show ..."
- other devs jump in to comment about the show, completely dismissing the VS/Javascript conversation -
Not sure WTF just happened.9 -
The reason why hiring a Recruiter in Software/Web Development industry is a waste of time and money.
- A real story from 2 years ago.
**few minutes of recruiter reading my resume, skills and whatnot**
Recruiter: Okay sir, we are looking for people skilled in C# for our app development and Java for our business software envirnoment. Which one are you interested in.
Me: C#.
Recruiter: I see, well.. I'm afraid we already have someone for the seat.. *checks resume again*.. maybe you would be interested in Java?
Me: Not really, why is that if I may ask?
Recruiter: Well, says here you have experience in Javascript
Me: *trying not to cringe* Yes, but I didn't see any Javascript related job available.
Recruiter: Correct me if I'm wrong, but isn't "Java" just short for Javascript?
Me: No, just like C# isn't short for C and C++
Recruiter: *oops* then I think we do have a free spot for you.
TL;DR - the guy had guidelines but no field-specific knowledge.. I only feel sorry for the other guy who thought he got the job lol.3 -
I tried to learn Java by watching tutorial videos on YouTube. After falling sleep on chapter 3, the next day I started programming in JavaScript.
Don't ask how, don't ask why.
And yes, I thought that Java and JavaScript was the same... For about 5 minutes until finding StackOverflow.
Good times.2 -
while we were in the car...
mom: so what are u doing in your new job? you code in java?
me: no, i code in javascript, html, css and php..
mom: so thats java. how nice.
me: no, its javaSCRIPT.
mom: theyre still the same.
me: java and javascript are not the same
mom: but most people use java so why dont u just do it in java?
me: thats what ive been asking myself too in the past few weeks, why did i even accept this job3 -
I have found myself more confused than a chameleon in a bag of skittles because I can't figure out why my ajax(beginform()) won't fire off any of the JS functions I write.
Did my Googles and that didn't help. Verbally abused my monitor and rubber duck, didn't help. I've got a blood sacrifice to the Javascript gods scheduled for tomorrow. Maybe that'll work.8 -
Javascript is a horrible language.
I really try to like it but I can't. Even the wonderous node ecosystem can't redeem Javascript's flaws.
Seriously how the fuck could they invent such a bad language and make it so damn popular. Why couldn't they used an existing language's syntax to make life easier.16 -
Like "Why is Facebook webpage running so slow" (I think cuz of all the tracking stuff, and they are having trouble on my Linux machine). But I gave it a naive duck-duck and found this brilliant tip to "Reinstall JavaScript" to improve that performance. I'm just so speechless rn... And the cherry on the ice-cream is the link :Drant reinstall js wtf-anyway? like what? guys... facebook is evil i dont want to use it i use arch btw java is also an island12
-
Why is Java so comfy?
I don't know why, but every time I try to use Javascript and Python I feel lost in those functional gimmicks and fancy libraries.
Java feels like the warm, soft old couch at home.9 -
This is 2017 but someone still think that Java and Javascript are the same language.
And this person is an IT student.6 -
Today I spent 3 hours, trying to figure out why the website didn't work. Turns out Javascript was disabled in the browser. :(4
-
I just started a new job where PHP and JavaScript are the primary languages. I came from a position as a firmware engineer where I coded in C/C++. I'm learning PHP as I go. I don't see why everyone hates on PHP. I find it extremely powerful. Especially when used in an object-oriented context.9
-
Didn't it take us years to stop writing javascript and html embedded? Is it just me or are we going back where we started? It's all a mix now!19
-
WTF!! I want a JavaScript solution.. not jQuery!! When JavaScript mentioned in the question, why the hell people answer with jQuery solution and also same solution multiple times.15
-
The company I work for (very big IT consultancy) has made the absolutely genius decision to put a block on the corporate proxy for GitHub. GITHUB. Because no fucking software developer ever needs to visit there. Their reason? "We don't want people publishing our intellectual property". Mate, I can fucking guarantee you that if unscrupulous bastards want to publish code against our T&C's, they will do so. Why make every body else's job harder and block it?!
But the best bit, you can submit a request (that is accepted without question) to get yourself an exemption. WHY THE FUCKING FUCK HAVE THE BLOCK IN THE FIRST PLACE THEN
To add to their fucktardery, they blocked the CDN that hosted stackoverflows css and JavaScript last year (CloudFlare) weeks after the alleged hack was fixed, and seemingly without any research at all. This obviously rendered stackoverflow unusable. Because again, why would a company full of engineers need to go there.
Morons.4 -
5 nEw JavaAcriPt frAmeWorkS foR 2020
...
.....
...
this is why people keep thinking us in the JavaScript world are fucking retarded.11 -
Why to most developers who look beautiful are JavaScript developers (looking at you Instagram) and all of them have the MacBook and perfectly clean desk. How's that possible.
If I were to clean up my desk it will take around 45 minutes to complete.21 -
JavaScript Motherfucking Asynchronous Bullshit.
I get it, for quite some stuff, async is very, very useful. But why on fucking earth do so goddamn many functions NEED this (and those callback functions) and can't do without?!
If there would be good and nicely understandable await documentation that actually fucking works, I'd be so happy.
I've currently got .then after .then after motherfucking then and its irritating me to no end as it, in this context, shouldn't even be necessary. This thing I'm writing doesn't give a fuck if something takes a few milliseconds before the rest of the program can continue!!
Fuck asynchronous programming in JavaScript for goddamn everything.
(I do love JavaScript!)27 -
Javascript! What a fucking horrible language it is.
I just wonder why this fucking language became this popular nowadays just performance is not a good reason to use this fucking language everywhere.13 -
As a Java guy starting to learn about JavaScript I have one question.
WHY ARE THERE 20,000 VERSIONS OF JAVASCRIPT???! WHAT MAD GOD APPROVED OF THIS AND HOW DO WE KILL HIM?
...I don't actually think it's that bad of a language though. :^)13 -
"Why am I a horrible person for following standard linting and thus not using semicolon in my JavaScript code?"
Next rant
"Sometimes I think people who don't use semicola in JavaScript should be shot on the spot."
Lol, love you devrant3 -
Why I can't just get this fucking Webpack working?
😡😠😡😠😡😠😡😠😡😠
Fucking es2015! Fucking Babel! Fucking JavaScript!
...No. Sry, JavaScript. I actually love you.7 -
Why the hell are “technical” recruiters so inept that they can’t understand that java and JavaScript are 2 completely different things?10
-
I wonder why there is a new JavaScript framework every 10 minutes. Could the issue be with the JS language itself?
Naaaaaaaah .... Impossible .....23 -
Dev: You’ll want to store money values such as $2001.01 as 200121 when using javascript.
Manager: Why? That’s stupid.
Dev: Javascript doesn’t behave with decimals the way you think. It’ll show up as $2001.01000001 when you least expect it
Manager: Well I’ve never had that issue before! Besides that’s only a fraction of a cent off, that won’t even matter!
Dev: … literally the plot of office space but ok21 -
When you're asked to extend a functionality on a piece of code and the 2.5k lines in the view are a juicy mix of PHP, HTML, CSS, JavaScript and the functionality relying on jQuery trasversing through the document tree and expecting things to be in their place. Oh did I mention html build with strings in JS? I'm going to love this day! WHY, JUST WHY?! *gasp*3
-
Why do most Java programmers know Java and nothing else? Wtf, every time find myself reviewing crappy Bash/Python/JavaScript/Ruby shit written by Java-only programmers I want to puke. Don't you know that the world is bigger than your small island?14
-
Local IT company proposes to give talks about the basics of web development in our school for one and a half week.
>"And now we're going to learn more about JavaScript."
>"The first thing we need to do is to import jQuery in our webpage."
>Literally no mention of plain JS.
this is why jquery is still not dead...........5 -
So i am a trainee at a Software Company in germany. Im in My thir year. We got a new trainee who has a better degree then me and is 3 years older (hes 23). yesterday we was in our Office working and My "teacher/Boss") was talking with a customer. Then the new trainee asks me at least 5 fucking stupid questions. I stay calm and answer them normally because i think He dosent kwow any better and would Learn it. So this fucker works on a typo 3 Website and ask me why He cant Put Java Inside his Website to animate some articles. I ask him why He would want to do this with Java? He says (like a ignorant fucker) because its only working using Java. I kindly ask him if He maybe means javascript and Not Java. And He says: oh yes i mean That but thats the Same thing. I say no its not javascript and Java are different languages. He responds with no Java is just a shorter Form of saying javascript. I quit helping this guy. The fact That he thinks He knows better its just killing me.7
-
Put random text in window.alert() where ever I got error in JavaScript code. Random text like 1) If you see this, you are fucked; 2) error 001; 3)why today; 4) the code is breaking here etc.
And never removed them. They are the running in production till now. I am just thankful to the gods that the code Nevers break and the user does not get browser alert and also the fact that I don't work there anymore.4 -
Teaching JavaScript to a master of classical programming (only uses C++, Python, Ruby, etc.). Here are the results:
1. What
2. What the fuck
3. Why
4. Why the fuck
5. Oh shit that's useful
6. Oh shit that's stupid
7. Why would anyone do that
8. Why isn't anyone else doing that
9. This is crazy complex
10. This is stupid easy8 -
Oh, this PHP thing is becoming big, we must use this; *makes ASP*
Oh, oh, this Java thing is really popular, and we're not the big bois now! *releases C#*
Waaait, functional is cool now? Damnit. Dude, grab this~~~ *F#*
Uhh. So people actually like JavaScript now? A wild *~~TypeScript~~* has appeared
Why does Microsoft have a history of following trends, and releasing poor clones with no substantial improvements??9 -
I feel like the web frontend landscape has gone to hell...
It used to be a priority to develop lean front end applications that load fast and work the same on most devices. If resources are required you try to share them. I have always liked the way this was solved using CDN.
Proper workflow: include some small libs you might need, script your interactions, test site, deliver.
And now our friends of the Javascript community have discovered the nuclear science called npm... It started off as this great benefit allowing frontenders to complete entire projects in the language they know and love but I feel like it has grown into an abomination that produces bulky applications with more boilerplate configuration than actual active code...
Surely I can't be the only one who is completely fed up with the direction this is going? Is anyone else looking for a lean way of developing javascript again using only a couple of small libs instead of those monstrous frameworks.
I have even considered to develop a library that makes it easy to develop with CDN (and dependencies) in mind but I don't even know if it will be worth it as more and more people tend to move away from it.
I'm sad10 -
Why is it that everytime, as a back-end developer, I want to dive into a simple front-end topic or technique which can perfectly be done in plain JavaScript, I need 27 different libraries and packages according to nearly all tutorials..
It really crushes my motivation and is just ridiculous.6 -
WHY DOES TYPESCRIPT EXIST OH MY FUCKING GOD WASN'T JAVASCRIPT ENOUGH
(just starting out on angular2 and i already hate it compared to jQuery)25 -
Those jQuery fuckers spam their shit into every damn article or video. Why do you retards even use it in 2018? JavaScript has evolved and can do all the useless shit jQuery does in an equal style.
I hate to see modern front-end tutorials using this useless ugly tool.27 -
Fuck you javascript and your bizarre Date object.
May your ass itch, and arms become too short to reach.
Spend a good hour debugging why this fucker:
(new Date).getDay();
Returns 3, when it's actually the 2nd of May.
Turns out the value returned by getDay is an integer corresponding to the day of the week.
(new Date).getDate(); it is, ಠ_ಠ15 -
I just had to explain to someone why Java isn't a suitable shorthand to JavaScript. Then he told me not to lecture him, because he's a CS graduate. Seriously.4
-
*looks for some reviews of a dentist*
Yelp: ah yes we have that.
*Enters Yelp site*
"Oh noes, you have JavaScript disabled! You should enable it because it can make websites really cool (why does this seem like a front-end wank), gives you compliments when you had a bad day (fuck you Yelp), can save the world from tragedy on its own (does savetheworld.js exist yet?). But that you'll never realize anymore. Because YOU disabled JavaScript, filthy piece of shit you are. So enable JavaScript so that we can have so much more fun!"
Ah, not providing any content that I visited your shitty site for, guilt-tripping me into enabling JavaScript for your dribble, and on top of that saying that we'll have fun when I whitelist you. Fun ey.. you know what'd be fun Yelp? For me to go there and shove my dick into every one of your front-end and marketing cunts' faces until they turn blue. Now THAT would be a lot of fun!!!2 -
In ESnext, private properties are marked with `#`.
Who thought that was a good idea? No really, who thought that was a good idea?
Why not just -- I don't know -- introduce keywords like ... let me think ... public, protected and private!?
Why this:
class MyClass {
a = 1; // .a is public
#b = 2; // .#b is private
static #c = 3;// .#c is private and static
incB() {
this.#b++;
}
}
If this becomes part of the language, no JavaScript developer may joke about php usage of `$` anymore.32 -
So I’m learning bootstrap basic and some javascript yesterday, it worked kinda well and today I’m planning on putting datetimepicker on my training project. Spent half a day trying to figure out why it didn’t work only to realise I turned off script on my internet options and when it finally worked, I found out that you can do that with html alone but need a newer version of browser.
Why am I even bother at the first place... -
Hey, it's 2023.
If your component isn't written in TypeScript, I'm not using it :)
"TypeScript is overly complicated!!!" why, because it pointed out everything wrong in your JS code?
"TypeScript is not flexible!!!" why, because it makes you not rely on fragile "only possible in javascript" patterns?
"TypeScript isn't needed!!!" why, because you've never worked on a project with more than 100 lines of code where dependency management and clean code policies were implemented?
god just stop with the JavaScript purist BS, you aren't going to win this battle, and it's even worse because not only are you injuring everyone in the software community, you're injuring your own productivity and skillset
actually, you know what, fine. just use pure JS and HTML implementations. see you in 10 years when i'm retired and you are still running around in circles wondering why the world has left you behind25 -
Why do people like non typed languages like php or javascript? Besides from a giant pile of possible security problems what do you get out of it?26
-
Why use Vue.js, Angular or React when you have jQuery???
No, seriously I just finished 4 Javascript Projects without any front-end framework.13 -
Friend: 'im really anxious, i need a job this summer and i dont know if i can find one with my stack'
Me:'why, whats your stack?'
Friend:'php, mysql, javascript'
Me:'...DUDE'6 -
I hate JS...
I hate CSS...
What can be worse ? ...
*guy at work* : hey what do you think about CSS in JS, should we try it for our codebase ?
*other* : yeah why not ?
Me : *make a gun with my fingers, gently putting it in my mouth, remember all good things in life, no regrets* *gun noise*
Kidding, I love javascript.
But I seriously hate CSS and UX stuff.2 -
Dear ESLint,
- you convinced me to put a space between function() and {
- you convinced me to use single quotes for strings in place of double quotes
- you convinced me to put a space between inline operators
- you had me when you said that trailing spaces shouldn't compare in my code
- you said to put semicolons at the end of each instruction, and I thought it wasn't a so bad idea
BUT NO FUCK OFF NO NEVER I WON'T NEVER PUT A FUCKING TRAILING COMMA IN THE END OF JAVASCRIPT OBJECT IT'S MEANINGLESS UGLY A WASTE OF A FUCKING BYTE.
WHY THE FUCK I SHOULD TYPE var obj = {a: 'some text',} INSTEAD OF var obj = {a: 'some text'} WHY WHAT'S THE MEANING OF THAT FUCKING COMMA9 -
I loved Python from when I wrote my first program up to I googled "how to import a module from a parent directory".
My love lasted 30 seconds16 -
Node: Will you go out on a date with me ?
JavaScript: Where?
Node: Outside the browser.
JavaScript and Node lived together happily ever after.
*** After marriage ***
Node: What is wrong with you? Why don’t you let me EXPRESS my feeling?
JavaScript: Stop overREACTing.
Node: You never want to understand my point of Vue.14 -
Interviewer : Hmm is there any reason why you pick up nodeJS as your back end language
Me : * forming convincing reasons in attempt to impress interviewer *
Half an second later
Interviewer : let me guess, because it's JavaScript
Me : (sheepish smile) yes...3 -
Computer Scientists:
Programming close to the hardware requires different strengths. That‘s why we created a manifold of systems programming languages
Also computer scientists:
Lets do everything the browser does in javascript lol -
They give you 2 containers, one with one amibea the second with 2 amibeas.
Amibeas divide themselves into 2 identical amibeas after 3 minutes.
The container with 2 amibeas get filled up after 3 hours.
How long does it take the one with one amibea to get filled up.
The test was named:"Javascript Test"....
I first thought, should I write this in JS?
Spoiler: the answer is 3h and 3 minutes.
But why? What's the link with JS?3 -
I’m a long time Objective-C and Swift developer...I’ve been asked to “research” a project using React Native.
It felt dirty to be writing an iOS app using JavaScript.
I’m still not sure why and how React Native is better/faster than native Swift.
Someone change my mind...11 -
Wasted a bloody hour today wondering why a route was giving weird errors...
Turns out I inadvertently wrote a for ... in ... loop instead of a for ... of ...
It's my bloody fault for being retarded, but I swear this unholy mix of JavaScript and python I'm dealing with is doing bad things to my brain. 😔5 -
Ok, Why tha Fuck does everyone bitch about javascript, like seriously why?
Its a damn great language and i have fun working with it. sure some people prefer other languages but it seems people who haven't even tried JS properly talk shit about it.20 -
What the!
I knew Javascript is messed up as hell but this...
I wondered an hour why "MyObject.size" is zero every time until I finally reallised that I only forgot the brackets.
Why, why does this return zero instead of throwing an exception, or at least "Function" or something like that?
That's bullshit! Arrrrgh...9 -
interviewee : *Appeared for JavaScript interview, in shorts with messy hair *
interviewer : why are you like this *with disgust feeling*
interviewee : I exactly don't know what this refers to
interviewer : can we talk about package2 -
So this morning I read this article where the author said "Javascript is a beautiful language [...] because it creates good, responsible, and intelligent developers." Why? Because by worrying by "getting your head ripped off" you learn to adapt and overcome.
Though I almost laughed and woke everybody else up, I must admit that it isn't that crazy of a statement. Right?
https://hackernoon.com/a-crash-cour...4 -
Why the fuck should I echo javascript?
Why in fucks name you do not deal with JSON responses?
Plugin devs are either lazy, or simply stupid as fuck!
Ps: Or I'm actually crazy6 -
OK so... project I've been working on! It's a virtual processor that runs in the browser coded in JavaScript. OK so I know, I know, you must be thinking, "this is crazy!" "Why would she do this?!?!" and I understand that.
The idea of Tangible is is to see if I can get any tangible performance over JavaScript. I've posted a poorly drawn diagram below showing how tangible works.
The goal for tangible is to not use html, javascript, or CSS. Instead, you would use, say for instance, c++ and write your web page in that, then you compile it using my clang plugins and out pops your bytecode for Tangible. No more CSS, no more html, and no more javascript. Instead everything from a textbox to a video on your web page is an object, each object can be placed into a container, each container follows specific flag rules like: centerHorizontal or centerVertical.
Added to all of this you get the optimization of the llvm optimizer.18 -
I honestly don't get the idea behind JavaScript frameworks. Like, if JavaScript on its own is really so bad that it's only usable for front-end devs with a framework.. why has nobody considered committing back their changes into JavaScript itself? Makes life easier for everyone.
Also, regarding the framework.. as far as I understand it's a bunch of functions that you load in, right? But do you really need all of those, to the point where the unused ones are justifiable? And wouldn't it make more sense to write them yourself as you need them? I mean that's at least the idea of functions in languages like Bash or C or whatever.
What's the point of frameworks?37 -
This moment when you are learning Vue.js and you are constantly forgetting commas and you are wondering why the code doesn't work.
That's even worse than forgetting Semicolons in normal JavaScript. FeelsFuckingBadMan
P.s. This is my first Rant on devRant even if I'm here since 13.11.16.8 -
To all the JavaScript haters try to use gmail in basic HTML mode you will know why JavaScript is awesome6
-
There is something so comfy about Java that I never get from other languages.
I don't know why but I genuinely enjoy writing 200 lines of boilerplate code. Maybe it makes me feel I am in control and not some syntactic magic like in Python or Javascript.
People keep ranting on java, yet it lives on.2 -
god i despise these "javascript is bad" articles. everyone seems to be jumping onto that train ever since the WAT talk.
javascript is a *weakly* typed language with implicit type conversions, that's why `{} + []` gives you `0`.
it is not easy to be the most widely used language, and to maintain compatibility across varying platforms.
please think twice before dismissing hard work.
/rant34 -
When your egghead boss (who is a dev, BTW) fails miserably in understanding that JavaScript fetch does not behave like the default synchronous nature of requests in Python.
After failing to make him learn about the asynchronous nature of JavaScript promises, he ends the discussion by saying "that's why python is better than js"
*facepalm*2 -
Can anyone tell me why is it good to use some crap language that transpiles to javascript? Yes i hate js too but 90% of my time using reason/ts/elm is just
>ddg how to do x in y
>no answer
>Js.unsafe.eval "js code"
Like???? None of them is a 100% complete wrapper???6 -
Why has web development become so complicated?
I'm learning React with JSX . Why is JSX even necessary? HTML works fine. Its simple and gets the job done.
I can't stand the node_modules directory either. Opening it up reveals what seems like hundreds it not thousands of dependencies that all have their own recursive node_modules folder and the dependencies continue.
Why are we creating more unnecessary abstractions on top of more unnecessary abstractions? What happened to K.I.S.S?
What was wrong with vanilla Javascript and becoming great at that and using just that?28 -
I am always excited when I see new JavaScript framework. Not in positive way, but still excited.
Why? Because I have so much to choose from. And I love half finished projects. -
I honestly owe everything to my buddy in our startup. He has taught me how to think in Javascript and that is why I am where I am. We fight almost everyday on almost everything, but there is Noone I respect more than I respect him..
-
I never understood why some developers _ before their Javascript variable or functions. Do they serve any purposes? Other they just make everything look bizarre12
-
Serious question: why all the hate on PHP?
I've been using it as my main language, and genuinely like it. Tried Java but find that to be typing a fuckload to get the same task done. Javascript is nice, but still, i prefer PHP (probably mostly because i know it).
Just really curious, what have i been missing?14 -
OH MY GOD, i cant believe this is my 25th day without a job... why!!!! not with all the kubernetes and node js and javascript that i know. lol. not to mention golang and python and all the networking stuff, dns, aws etc. lol where are all the recruiters when i need them?!!!!8
-
Just followed the JavaScript MDN dev docs example to do this:
// Deep Clone
let obj1 = { a:1, b: { c:2 }};
let obj2 = JSON.parse(JSON.strigify(obj1))
Why does it feel wrong to write this code?10 -
God I fucking hate Javascript.
- unknown operator
- type coercion
- sorting always works alphabetically (lmao)
- literally started as a joke
why can't it be normal and predictable, or at least mildly comfortable to use?24 -
So today when I was testing my new website I learned that IE/Edge does not support smooth scrolling with JavaScript.
I get why it doesn't work in IE but Edge... like what? Edge is supposed to be a modern browser... No?8 -
Me during a presentation of a website for university project. It's a simple project for our university where there is internships offer for our field, stack : php, js, css (bootstrap), and the presentation was on my computer, so on localhost.
In that projet i have implemented a back office to manage all the offers, basic CRUD functionality, and as lazy as I am, for delete confirmation i used a simple javascript alert for that.
Me during the presentation :"so here is the back-office to manage users and internships offer, and for deleting one offer you just have to click on this trash icon *click*".
Ze professor : "hold on hold on, why it's showing 'localhost' "
Me : "it's javascript alert"
Prof : "but why 'localhost' "
Me : "oh, because i'm running the website on my computer as a server"
Prof : "but why localhost, it's not professional"
Me : *god please "it's javascript alert rendered by the browser, we can't do anything about it, and for a simple application it's sufficient"
Prof : "but why it's bigger than the message, and if we host that, do we steal have that localhost"
Me to end that : "I'm sorry i made a mistake on that".
Fortunately i had a good mark on that project.
It's my first story here, and sorry for ze bad English ^^1 -
Helping a friend study for a midterm for a web development class at the university I went to. They have a new teacher this semester and I’m reviewing his slides about javascript to see where the confusion is...
First slide: based off of Java, hence the name JavaScript, but is not Java. Borrows most syntax from Java.
And they wonder why employers comment on the surveys: “unprepared for the workforce”
Looked up the professor.. no experience teaching or any background in cs. And people pay 6-12k / semester for this state university.1 -
https://blog.dropbox.com/
Look at this bullshit. Open your devtools and go to the network tab. This shit deadass takes 18 MB to load initially. And why? Images. High-res images.
And let's not even talk about the sheer amount of JavaScript loaded.2 -
It seems like I'm going on an assignment to a company working with Angular. Reading through the documentation I just want to ask all Java developers to get their greasy hands out of JavaScript. It feels like GWT all over again with Google reinventing core JS technologies just so that it looks like Java. Dependency injections? Observable wrappers? RxJS in general? WHAT IS THE POINT? Why can't I do this in a way adhering to web standards? Why can't I simply use fetch() or axios or whatever? Why can't you support reactivity without forcing me to write more boilerplate than I had on my central heating boiler? I just want to code and not be forced to discover what Google developers think web should be like.
Please, let me out of this hell.
Fortunately, it's not gonna be a long assignment.3 -
Another JavaScript joke because, why not?
Still curious though.. Which Frameworks (for JavaScript and PHP) do you guys actually use?11 -
I've seen lots of other ranters complain about huge code files... I just came across 27k Javascript extension for a software like Postman ...
First I thought cool I can work on it since it's JS, then 27k of lines later: I think I'll go sleep .-. -
[Last year me]: Dammit, javascript is the worst language ever! Where are my var types? Why are there so many frameworks? Why the people are using it? Why? Why?
[Today me after updating my Linkedin profile with my javascript experience and receiving some good job offers almost instantly]: Oh good Lord, thank you for giving Mr. Eich the wisdom to create such a beautiful language, I'll build a new framework as a sacrifice to show my gratitute.1 -
Just spent 20 mins trying to figure out why new lines weren't printing and why random '0's were in the text.
Turns out I was replacing with +"\n" which JavaScript converts to a 0.
Fuck this8 -
Today's rant: JavaScript's type system.
I realized halfway through that I can't happily call JavaScript a "programming language" so just assume
alias programming="scripting"
I'm sure it's not actually as frustrating as it seems to me. Thing is, I'm used to either statically-typed languages or dynamically-typed languages that actually make sense. If I were to try to add an integer to something I'd forgotten was a string in Python, it'd immediately tell me "look, buddy, do you want me to treat this as a concatenation or an addition? I have no idea the way you've got this written." I've found that mistakes are a common thing with dynamic typing. Maybe I'm just not experienced enough yet, maybe it's really as stupid as it looks. JavaScript just goes "hey look I'm gonna tack all of these guys together and make a weird franken-string like '$NaN34.$&' because that's absolutely what we want here!" Then I run my webpage and instead of a nice numeric total like I wanted, good old JavaScript just went "Yep, I have no idea what I'm doing here I'm just gonna drop this here and pretend it's right." Now absolutely I do not expect my programming language to make correct assumptions and read my mind, otherwise JavaScript would be programming me and not the other way around. But it could at least let me know that I had incompatible types going on rather than just shamelessly going along with what it's doing. Good GRIEF, man, some of the idiosyncrasies of the EMCAScript language definition itself just make me want to punch a horse.6 -
why the hate on java? ok, i'm only studying applied computer sciences for a year now, we mainly saw java /javascript and i like them. personally i worked with python, c, c#, php, swift too but i still don't see the problem with java4
-
Why am I a horrible person for following standard linting and thus not using semicolon in my JavaScript code? I write Golang and Elixir which they don't have them and thus it is for me more natural to not have them in JS as well.1
-
I was auto populating a date field using JavaScript.
Tested. Deployed.
2 days later, the field stops populating and I don't know why??
Turns out I didn't handle the '0' for the day in my date and while testing the dates were 29-31 since end of month so didn't really see it. lol.4 -
As a junior dev from a sysadmin and security background, this is a list of software development concepts I never seemed to truly understand but hope to(rated from most intimidating to least):
1) Frontend web development and all the huge world of javascript frameworks and tools. - It's more overwhelming than the political geography of the Holy Roman Empire in the Middle Ages.
2) Machine Learning, Deep Learning and A.I- too much math that fucks with my brain.
3) low-level programming(kernel,drivers) - sounds extremely interesting but the code in assembly/C/C++ looks like Linear A Minoan hieroglyphics.
4) Rx(insert language here) - I never get why it is useful or why someone invented this. Seems interesting though.
5) Code Reflection - sounds like Thelemic magick.
6) Packaging, automation, build tools, devops, CI, Testing -seems too complicated. I just want to run an executable at the client or make a web app that does something. Why all this process?6 -
"I hate this in javascript, because I never know what it is referring to."
Read this joke here some months ago. Today i learned why it's so funny -
God I hate JavaScript.
Why on earth would some variable * somthing.other (where somthing is undefined) result in 653957364??????17 -
Working on modifying a legacy web project and just about every single element is `position: absolute` with crazy z-index juggling and hard-coded pixel sizes and positions everywhere 😭
To make it even worse, a bunch of the javascript will also change elements sizes and positions so it takes forever to track down why an element is where it is1 -
Been programming in PHP for years, now this year has been full-on JavaScript. Now had to help a friend with PHP again, I was too afraid to type. Why are there some many swiggely lines?!5
-
Trying out pure functional programming in javascript. First few weeks: wow, this is so fresh, oop can die, etc. Now: this isn't readable at all! 😐5
-
Well... Justy trying to migrate from Android to JavaScript development... Everything seems to be ugly in this world of functions... I really can't understand why JS is so popular, It is totally incapable language.10
-
Legit question: Why are there so many people coding in javascript while so many people are saying it is actually a bad language? Why is everybody coding in a "bad" language?11
-
!!!!!!!!RANT!
today (~9h ago) i was in college lab, alone, and few minutes later 2 seniors came in and sat behind me and started working on some webpage and they were talking about HTML and CSS and all of a sudden one guy says "how can we make a page responsive?" and other guy goes "we use JavaScript"
my brain: "wtf, JavaScript?? are you nuts? responsive pag- are you fucking cra- why am i even- why the fuck would you say Jav- why God why??”
i had to get that off chest...6 -
You know why i hate JavaScript?
Instead of writing
return x.y.z;
I wrote
return
x
.y
.z;
Just for making the code look clean
and everything broke...10 -
Just had a recruiter contact me, and found this gem in their text:
"We work with MS stack and SQL Server, but we really think JavaScript is the way of the future"
Motherfucker, JavaScript can hardly tell basic types apart, how the fuck you gon' run a relational database with it!? And if you're not, then why the fuck are you running a relational database in the first place!?
Fuck outta here!2 -
Spending half the day wondering why the longest javascript calculation in existence is not matching client supplied excel by 0.22 percent.. Realised one number was parseInt'd instead of parseFloat'd... FML
-
When you’re trying to write a function to convert a base 10 integer to a base 2 integer in Javascript without using parseInt() and it takes you a while to realize that you’re used to integer division being integer division and have forgotten that JavaScript stores numbers as double precision floating point. *facepalm*1
-
What the fuck is so bad about JavaScript??? Like really. Everyone hates it but why? Developers HEAR JavaScript mentioned and immediately throw shit. Why?? JS is my go-to.28
-
Webpacker works on branch master.
Webpacker doesn't work on the "back-end" branch.
I didn't touch anything javascript related between the branch's creation and now.
Why. Why why why why why.4 -
Discussing with the boss:
boss: < How is it going? >
me: < I'm trying to rewrite this horrible javascript code with typescript >
boss: < But release cannot support typescript >
me: < I can compile typescript locally and then release >
boss: < You are not listening to me! we can not execute a script in typescript >
me: < In fact we will use a script in javascript >
boss: < So why are you rewriting it in typescript? >
And so the discussion continued for another 20 minutes...8 -
Why didnt anyone tell me about you could create mobile Apps With HTML, css, Javascript and node.js?!12
-
I started making a library to get to know TypeScript. 4 days into the commits and I don't know if I made the best choice or the worst choice. I MEAN WHY CLASSES!! JAVASCRIPT IS MORE A FUCNTIONAL PROGRAMMING LANGUAGE THAN AN IMPERATIVE PROGRAMMING LANGUAGE! I DONT WANT TO NEW UP! I DONT WANT THE DEVELOPERS TO NEW UP! WHERE ARE THE DESIGN PATTERNS! I CANT FUCKING FIND IT!!4
-
Why are most people here opposed to JavaScript?
I use it daily and can’t understand why people dislike it so much.23 -
Seems to me that shitty youtube shorts "explaining" basic programming concepts via shitty JavaScript snippets.
Yesterday I've seen dude basically badly explain/demonstrate currying, on such a contrived example that it didn't explain WHY would you ever want to use it, and apparently without being aware that's what it's called, and using like 5 nested/chained ternaries.7 -
JavaScript is a functional language.
It's probably closer to ocaml than it is to java. Why the fuck does no one talk about this? I would have learned it sooner.15 -
Learn JavaScript.!!
Everybody talk about functional programming, I was thinking why php json_encode is not working on large array.
Javascript is Awesome.2 -
Rant..
Realised I was working with the outdated version of JavaScript library and all my months effort needs redo. Shit!!! Why do devs change code so much that backward compatibility becomes an issue.....2 -
So what do you all believe the best first language is and why? I personally say Python or JavaScript because they are simple, and easy to understand8
-
JavaScript... Why are you so complicated. Simple, but complicated. When "this" doesn't always mean "this".. there are lots of ... complicated things.2
-
Every assignment is done by reference in JavaScript... like why? Lemme use a pointer when I need it.
ES2016 looks so much like Java, I swear nobody will notice if they added pointers... and over 9000 more confusing features.12 -
fuck javascript
took me an hour, but I finally figured out why the date was so wack
can you?
admittedly not strong in js, cuz I hate it7 -
I am so done with these “Top *insert a number*” websites that use slides to show items and every time you go to the next slide it loads another page. Why can’t they just use one of the thousands of javascript frameworks and load the page once?!?!1
-
Can someone tell me why C++ and python are so widely used in the AI department? I kind of understand… you want maximum performance (plus GPU) with C++ or easy logic with Python but still, it seems like other languages would still have there benefits in AI. It just doesn't make sense to me, why isnt it like every single other part of computer science where everyone under 22 thinks "now this is what JavaScript was made for!" (I mean js is used so much in other parts of cs, why not AI). Am I missing something? Maybe the resources are missing for AI in other languages? Can someone please expand12
-
A tool widely use and been perceived as a superset of JavaScript does not have a FUCKING language specification, we have no single clue why certain things are done the way they are done. All we FUCKING do is guess.
Fuck typescript11 -
Serious question: why write in coffee or type script instead of normal JavaScript? Speed? Ease? Familiarity?1
-
Why are you all so obsessed with hating jQuery? For me it just does the job done. Animate stuff. But I agree being totally dependant on javascript is bad for any website. Seen hundreds of wordpress spaghetti code where fancy effects were made with jquery like CSS opacity 0 and jquery animate to 1... What a bullshit. But yeah I still love jquery. Easy, fast and reliable.3
-
I`m new to coding. So i`m also new at ranting.
I know i have something to rant about. But my nerd culture is just not yet at the level.
I have been taught by a mate to used linux and started vanilla javascript. We use intellj as IDE.
So i have to speak to this client whose previous IT provider was gonna code his thing with ASP and visual studio!!!
Right?! WTF?!!! But that`s all i got!!!!
Im pretty sure its a wtf?! But i don`t have the rock solid reasons why.
Please ranters help me become better at rantong and tell me i`m not wrong and why ;)9 -
I’m currently a trucker and can’t get my shit together, studied html css JavaScript Xcode and Python... Now I’m watching electronics and automation videos.. I’m losing my shit idk what needs to be done I’m worst than a 3 year old kid.. Losing my Shit I love learning but I’m stuck.. Stuck? I don’t even know why I feel stuck.. Idk what I should study and focus please help, trying to leave the trucking industry..9
-
Is it just me, or does it seem like worse languages get more usage than better ones? Like, how many people know Haskell vs. Python? A lot of people dislike JavaScript, but why is it so damn popular then? And why didn't presumably superior Dart replaced it on the web, even with Google's support and lobbying?
I think the reason is that every language has vocal critics, and when a lot of people use a language, there will be a lot of such critics. When a certain critical mass (no pun intended) is accumulated, it begins to look like everything you can read online is bad things. Of course, the language being worse than some other hip language doesn't help.
What do you think?3 -
Coding JavaScript... Makes an object, creates a method, Uses 'this', 'this' points to the object... Good...
Calls another method, uses 'this'... Now 'this' points to the window object...
Why... WHHYYYYY... :'(3 -
Just wasted 30 mins of my life wondering where the fuck this bug is coming from. This is why i fucking hate javascript.7
-
Why the hell the mutant-frankenstein language known as Javascript even exists?
Why back in the day couldn't they use an existing language's syntax for interacting with the web, Like Android did with Java?
Don't get me wrong, I like using js. But it has too many weird inconsistent parts which feel very quirky. Even more than Python.6 -
After 2 interviews and a complex case study made to apply for Javascript Architect I was asked to travel from Brazil to Germany for final interview. First question:
Interviewer: what are things that you want to learn next.
Me (dumb): Maybe some functional language like Erlang
Interviewer: why not Javascript?
Me (dumber): Javascript is not that good for functional
Man, I WAS nervous that day 😭3 -
Only if javascript could have milkshakes, which would be it's favourite?
-Yes, you are right!!
If you couldn't get it, why are you even here?2 -
I hate Vue. There I said it. I hate components. I hate this stupid error that I keep getting. I hate that I just want a simple answer to why I keep getting this error and that seems to be difficult to find. Where is my vanilla JavaScript?3
-
why the fuck am I stuck using a "custom javascript framework based on angular.js" instead of NORMAL FUCKING ANGULAR LIKE REGULAR PEOPLE DO.4
-
Me: Why isn't this working?!
Normal languages: You screwed up over here.
Me: oh thanks
Me: Why isn't this working?
Javascript: 🙂
Me: Please I beg you tell me.
Javascript: 🙂2 -
In my opinion people hate JavaScript just because it's different from other languages.
Why people hate coercion? It's useful if you know how to use it. Or dynamic typing.
What's your opinion about?5 -
Node.js, why!? I understand that websites are built on JavaScript so we've been fucked into having to use it without a choice. But why the hell would anyone choose to use JavaScript for backend development? I just finished an interview assessment that required me to use Node.js and it sucked. Granted, I'm not a JavaScript developer, but there was nothing that made me want to go back for more.10
-
I love how frameworks and languages become more object oriented.
PHP and Javascript for example have come a very long way in the last decennia orso.
The why is obvious: logic makes sense.1 -
Focused on debugging Javascript after being asked for help. Original developer narrowed it down to an if statement. It was acting like the if statement was assigning the variable and causing undefined. Tested console.log before evaluation. Tried !== instead of != and same thing. Even swapped undefined and variable so it would try to assign a variable named undefined instead... It took way too long for the both of us to realize the word "let" in front of the variable on the line withing the if statement block... It overwrite the variable the moment it entered the block.... FML.1
-
Alright so I've been thinking of taking my skills to the next level and would like to know a few things from PRO C++ DEV out there
1. Is it possible to set up a production level web server with c++, if so why don't i see many and why are there so many with nodejs etc..
2. Client side web pages without Javascript, possible?
3. Well I forgot the other questions I wanted to ask, if I do remember you'd be able to find them in the comments
I believe in a single universal language for coding, hence I place forth such questions9 -
Bruhhh why you use random single character in your variable names in javascript src code? Do you have uglifier installed in your brain?18
-
So to test my server code that do calculations on large numbers that get above 10 digits 90% of the time.
The end users found a custom web page with basic javascript doing the calculations.
Now I get to explain why that doesn't work. -
Starting to get into intricacies of javascript.
Question was: when and why do you bind your functions?
Farking hell, no wonder people bitch about javascript.3 -
Well AI is made by some developer so why not just swing with the technology. When JavaScript Framework because famous (jQuery, Ionic, React) we started using them like an asshole. Similar way when AI takes over, let's switch to AI.
All I wish is that AI doesn't fuck my girlfriend/wife. I will implement very strict rules.1 -
I though of a great way to explain to an absolute beginner why you need 3 file types to build a website:
It's like building a house
HTML handles the structure of the house
Javascript handles the electrical and water (things that make the house run)
And CSS, like the decorators that make the house look pretty6 -
Peoples opinion of ASP?
Any hints for learning/using/I got assigned a big project and have no idea what I'm doing?
I said that I know Java. That's half of the word JavaScript. Which you can use while making a web page along side of PHP. PHP kinda sounds like ASP if you say it a bunch of times really fast. That's probably why I have this project...? I can't think of any other reasons?!?!10 -
The frontend developers in my company are the reason why I have anxiety. Here are few things that grinds my knees:
1) for a long time in projects, they deleted the auth token from their storage without integrating the logout api. They thought why use an API for that. :)
2) most of them had no clue that form fields could accept javascript as inputs and work as XSS vulnerabilities. This actually happened with a client, he got so fucking pissed.
3) One of them asked me to convert a PATCH request to DELETE cos fuck REST and HTTP methods.
For fuck’s sake. I need to get out of this place.4 -
Currently debugging why some clients text boxes are lagging severely on input. Fingers crossed it's not my JavaScript I pushed last week..4
-
Hi all my webdev friends! Question for you, tried google, got propaganda.
Why do front end devs use frameworks like angular or react? I was looking into it, and it looks like html/JavaScript can handle it all. Wouldn't removing them save load time and data overhead? Does it really boost productivity that much?
As a backend dev, it is completely possible I missed something haha.5 -
What is the framework you use to generate front end ui
Javascript vanilla, vue.js, angular ? And why you use it9 -
I just came with a problem trying to get the value of an HTML input of type date and trying to throw it into a Javascript Date object... After about an hour of searching (Google, Stackoverflow) I realized HTML5 date inputs use UTC timezone (defined by W3C) and Javascript uses your local timezone and this difference is messing with my code giving me a JS obvject 1 day before the HTML date...
Why they do this kind of thing?1 -
First Rant...
Why the fuck do I get on a C++ interview the question if I now Javascript......everytime.... NO I DON'T WANT TO KNOW JAVASCRIPT!!!
Real coders code in C/C++ and not hipster javascript. Am I alone???(probably)10 -
I've tampered JavaScript for about 2 months now and I like it. But I see that there's a lot of hate towards JavaScript on devRant (and other websites). Why do people hate/dislike JavaScript so much? Or is it just a personal preference?11
-
Fuck you javascript. You're the worst. Fuck you fuck you. Why I became a fucking frontend developer. Fuck me and my stupid idea to get hired as a...
Oh nvm found the bug. JS is za best.1 -
Why are there so many testing framworks for JavaScript? Jasmine, mocha, buster ... and for spies, stubs and mocks, there is sinon and for assertions, there is chai. And oh you can record entire external api calls with nock and whatever else I forgot. I am a bit overwhelmed by this overambundancy of libraries. Writing tests is supposed to be easy.2
-
Favorite IDE: JetBrain's WebStorm (for JavaScript stuff), Intellij (for most of everything else).
Why: cause it literally saves you time.
Bonus: VS Code for anything else (python or golang)3 -
Stop in a middle of a project and come back a few months later. Decide to rewrite everything in latest flavor of JavaScript, then stop in the middle of rewrite. rinse and repeat... This is why I don't have an impressive portfolio yet.
-
sooo I've been hanging around devrant for a while, and well..... it's been obvious af that Javascript has been getting a lot of hate lol. so I was wounding if somebooday could enlighten me with a "why". y u do dis ppl?6
-
Fuck all those special snowflake npm packages who each implement their own incomprehensible documents format and even make an ugly ass website full of lies for it.
Next to JavaScript, this is the biggest reason why I hate frontend development with a passion.2 -
Javascript is actually a weird language which I dunno why I like a lot.
new Date() in NodeJS gives a different value, while new Date() in the browser console(so react js and normal js) gives a different value.
I dunno if my online searching skills are bad but I didn't find anyone addressing this online. Lol I had to create a manual work around for it then.7 -
How to download anything in Kiwix flatpak version?
I only get a Javascript alert with "Error: download failed." whenever i click the "Download" button next to an item in the library.
Also: Why are desktop versions almost unusable these days.
Are devs not owning desktops anymore?!4 -
Hi everybody! I would like to know if someone could tell me why I should install a converter between Javascript and EcmaScript if there is already support for ES? Is it for IE?7
-
I know this is not StackOverflow but is there a way to send TCP packets using JavaScript? I can't find a pretty solution. Why I can't find an API like "sockets" from Python to JavaScript?
Telnet API will be fine too.
Thanks!3 -
Javascript in a nutshell:
Function in a teaching example for a framework, checks for validity of input, dev returns null instead of false when it isn't. In another place, uses !variable to check if variable is 0.
fucking follow the semantics of the code you write cunt why do you have to do this why is it so hard to write variable !== 0
I'm sorry, this really triggers me.
https://media.giphy.com/media/... -
Why does programming with JavaScript feel like infecting yourself with and the machine with AIDS? Use a script from some random cdn here, download 46578 npm packages with triple the critical vulnerabilities there.
It feels so disgusting10 -
Job Interviews and technical tests...
Why when interviewing for full stack Angular(typescript ) / C# do they expect devs to be as good at C# as a 100% dedicated C# dev.
Why do they expect them to be as good as a 100% dedicated jQuery/pure javascript dev when 50% of the job is for Angular/typescript. WTF?
Full stack devs typically are constantly jumping around between tech stacks so they're always "working it out"
You hire a generalist because you want a generalist. Don't interview and test them like they're 2 specialists combined into 1.2 -
Needed to help a friend with her Bachelor Thesis. She writes in Javascript and needs to synchronously use the result of a postgresql query. The query call is asynchronous.
We did what any person that searches for a dirty solution would do.
We saved the result of a query in a file and load the file when we need it.
Why is Javascript a thing?6 -
Trying to learn JavaScript unit testing with Vue.js and it's not going well. Took long enough just to get everything installed and now it errors as it doesn't understand <template> tags. Why is it so difficult?
-
My Friend(On getting an error in Javascript for not placing a semi-colon";") : If the computer knows that adding the semicolon would fix the code why would it not add it by itself instead of throwing an error.
Me: Because coaches don't play ;) -
Trying out Gnome again, because KDE is "just ok", and Hyprland and DWM are fine, but I wanted to try something different. (Actually DWM is amazing, and Hyprland is sorta weird?)
You know, it's not that bad. Doesn't even seem to be as memory crazy as everyone seems to say either...idk what I did, but it appears to be using around a GB, maybe a little less. Definitely not the experience I remember from the Gnome 2 days. Anyway, I was curious, so I was looking at the source on Github....and why the fuck is there javascript in this DE code? WHY. I do not understand.
Maybe I'm fucking nuts, but I actually kind of like the workflow, once I've applied a couple of "tweaks". But seriously, I am fucking gobsmacked at the JS thing. Why.9 -
How is a "web app" any better than a "web site"?
All a "web app" does is adding a JavaScript program as a middle-man between the browser and the server.
Where as "web sites" instantly deliver content, "web apps" deliver JavaScript code that then loads the content and puts it on the page.
A "web site" serves the browser useful content on a silver plate (metaphorically speaking), where as "web apps" serve some JavaScript code and the browser has to do the heavy lifting.
It appears that the only benefit of "web apps" is the fancier name. "App" sounds fancy while "site" sounds mundane. But technically, a "web app" is worse than a "web site". It's both slower and vulnerable to scripting errors.
Why would anyone in their right mind choose to create a web "app" over a web "site" to load text and a bunch of pictures?
I get it, some things such as posting comments without reloading the page and loading new search results when scrolling down are not possible without JavaScript, but why use JavaScript for everything, even where it wouldn't be necessary?
JavaScript should never be required to show a bunch of boxes containing pictures and some text. JavaScript is intended to enhance web sites, not to load entire websites.
As web developer Jake Archibald said, "[100% of] your users are non-JS while they're downloading your JS" ( https://twitter.com/jaffathecake/... ).
See also: I miss the good times when the web was lightweight. ( https://devrant.com/rants/9987051/... )
"App" is not an excuse: https://jakearchibald.com/2013/...
I am sad Archive.org switched to being a web app. But I applaud them for resisting that trend longer than most other large sites.28 -
Why there is not website like w3school in javascript /HTML for C/C++? Or maybe I didn't searched enough4
-
This will never clash:
static createGuid() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
}
return s4() + s4() + s4() + s4(); // Example => 'e014026082e6237b'
} -
Fuck these apache2 and nginx configuration that fucking make my life miserable. Why can\'t I fucking edit the files inside /var/www/html? Fuck that. Why can\'t I access a subdirectory inside it? Fuck! In Node.js, you can fire up your server pretty easily. Then you tell us that JavaScript sucks? Fuck me dead.21
-
My dev area of focus? Frontend web, and always trying to lean more towards CSS and UI/UX than to javascript.
Why? Because I discovered that I'm a designer with zero ability to design, so with CSS I can at least implement other people's beautiful designs. -
So here I am, in a summer course for IMM introduced in JavaScript. I knew I wasn't going to be a fan of the insane junk it does. I just didn't expect to see it IMMEDIETLY.
var size = 1;
#ps5.js draw loop
size += 1;
print(size);1 -
Why aren't there more programming languages out there that aren't derived from English?
We're in the age of universal UTF-8 support, if it was meant to be then it should be happening now.
+ sarcasm
I mean, we should be more inclusive and allow other flavours of JavaScript that aren't based on English across browser, right? Otherwise that would mean that English is the master language of the web.
- sarcasm5 -
FUCKING TIMEZONES. FUCKING JAVASCRIPT.
Date.parse("2019-01-01") = local time
Date.parse("2019-01-01T00:00") = UTC
Why? How's that supposed to make sense? Am I stupid? I just want UTC to be assumed for everything. Anyone? Any suggestions?4 -
So today I thought to polish things on a former colleagues code. I noticed he wrote JavaScript inside PHP file to redirect header to another URL. I don't know what the fuck he was thinking. Why didn't he used PHP Header to redirect the URL why JavaScript?1
-
Finally discovered kind of explaining something that baffled me
https://stackoverflow.com/questions...
It really pisses me off as I've taken block scope for granted as a default thing.
I've got an open question to people in the community who know more than me, do most modern languages , scripting or not have block scope?4 -
Why are JavaScript coders called engineers (ie front end engineers, node engineers) but dotnet and Java are called developers?17
-
Worst technology ever by far I have to say JsData. It's a framework for javascript ofering ORM facilities so you don't have to deal with Ajax yourself. The nightmares with data being cached and not updated, the fact that the response must always be an object with an id. Why? Just why? 😨1
-
I have never understood the default configuration of Javascript Back-end frameworks.
The documentation says -> Install expressjs. Its a "framework".
But then u need to setup EVERYTHING yourself. Install cookie-parser, body-parser, io, routing FUCKING everything !!!
Why can someone not make it a standard installation covering the basic necessities ??5 -
Does anyone know the reason behind why JavaScript Arrays start with an index of 0 instead of 1? Or why the .length property starts at 1 instead of 0.11
-
Trying to write some JavaScript (still learning it)
Why does the fucking
(function() {
})();
not work for starting a function below it?
Or above... I tried to fiddle with it too much, I'm just gonna leave it for now18 -
Is there a search engine indexing pages that work without JavaScript?
Why?
- I use the Lynx text-mode browser
Why else? Maybe I'm naïve:
- At least without JavaScript the advert/tracking methods will not slow load times or break the page.
- This may be a nice way to highlight websites that don't have time to join an SEO/analytics arms race.8 -
why the hell do we have frontend framework. the frontend meant to be as small as possible. Yet we introduce huge libraries just because some don't understand javascript. like seriously Facebook. you created reactjs because you couldn't create a simple messager3
-
Why do javascript dates have to be so shitty?
Can anyone explain why 'Feb 18, 1977' is in the local timezone but '1977-02-18' is UTC?2 -
This is not meant to be dumb, but why is JavaScript called JavaScript?
Is it based on java and the Browser has a runtime?
Or was the author just drunk and called it like that?6 -
Hello my dear friend. I hate you. You are asking me why? You know exactly why.
I'm fucking tired with dealing with your fucking projects. Yeah, your unresponsive websites projects. You shove me a website, with crapton of images, JavaScript fireworks and you even dare to ask why website is lagging on mobile?
Also I hate you for ugly, custom fonts without Polish letters and you fucking are mad at me why some letters look different?
Last thing. If you ever again ask me why a website (look again at projects you are giving to me) is looking different on mobile, then I swear I will fucking rape you. (but maybe I will maybe kill you instead) -
I can't stand typescript lovers
it's just typing on top of javascript... it's good but that's all - one more tool to help you build solutions
why you keep talking everyday about types, why you keep creating types for everything in the most unusuble and unmaintainable ways??7 -
I feel many people suffer from this same problem.
Meanwhile why the fuck would this not work in a javascript class or am I getting my languages mixed up ?
Will know soon enough.6 -
Thanks to another post, discovered this chanel.
it resumes why I don't like javaScript so much
https://youtube.com/watch/... -
Why is debugging like finding a needle in a haystack, except the needle is on fire, the haystack is on fire, and everything's in JavaScript? If debugging is removing bugs, then programming must be putting them in!
And Git blame? More like Git shame! Every "fix stuff" commit is a reminder that past-me was a jerk.
End rant. Back to code. May the coffee be strong and the bugs be weak. 🐛☕💻6 -
Why are websites fundamentally divided into 3 components - Html, CSS and JavaScript? Wouldn't a single component written with a single language be a better approach in all the aspects?25
-
<script type="text/javascript" src="js/somscript.js"></script>
why is the closing script tag a fucking thing ?????
why would you just do /> ?????51 -
it's sooo annoying. There are no sites that cover SOAP with JavaScript. I am only a junior dev and I have no way how to tackle this project. Why SOAP??11
-
Why in the hell does everyone have to have a different fucking CMS and why do they all make it so goddamn difficult to put a simple javascript in the head?
it's 2016 fuckers, sometimes the end user hires a dev to do things and I can't do shit in your fucking site-builder. I want to add a tiny javascript specifically for fb pixel, but frankly this is how most analytics work and it shouldn't be a complicated task for someone to perform if you built a halfway functional fucking CMS.
One simple function is all it would take to let users put a little bit of js in the head, fuck you could even name it something scary to keep idiots away or hide it behind a developers options in the settings or something that would allow someone with the IQ of a dolphin or higher to install some goddamn tracking code on the fucking shitstorm of a site your "builder" came up with.
your SEO practices suck too, but that's a rant for another time2 -
Babel fails about 10% of the time, but if I re-run it it works. What the fuck did I even get myself into, and why aren't elements of a modern javascript toolchain completely deterministic? (webpack, babel, typescript, react)1
-
function normalize() {
console.log(this.coords.map(n => n / this.length));
}
normalize.call({coords: [0, 2, 3], length: 5});
Why? Why, javascript? Why do you invert the function and the 'this' keyword? It just confuses me and (at this time) I cannot think of a place where this would be really necessary.3 -
Every once in a while I am fiddling with javascript or springboot.
To remind me the reasons why I have switched to Python.1 -
Going back to Chrome! :( The reason: I was for like 1 hour trying to figure out why the 'src' of a image wasn't getting changed by JavaScript, then BOOM, SO explains me that Firebug doesn't update those kind of changes :/ That and the fact you can't edit your external js from the browser... That was your last chance Firefox :(2
-
typeof NaN === 'number' ... why javascript?... why Not a Number type is number??... a couple of minutes later i've discovered isNaN function. 💪💪💪
-
Now that you can make native apps in javascript for all platforms, is there any use for learning native development? Why not just learn a flavor of javascript and launch on all platforms?1
-
Algorithm Design Course Assignment: Sort a hexadecimal string using 4 different sorting algorithms, and display each pass on a webpage. Easy enough yeah? Oh wait. Boomer professor wants us to use a canvas based javascript library called P5.js
Why the fuck. would you enforce some random ass boomer ass javascript library on the class, rather than let students choose something they're more comfortable with so they can focus on the core of the project. IMPLEMENTING ALGORITHMS. OR AT LEAST PROVIDE BOILERPLATE CODE?? GAH!!!!!!!!15 -
Ok so I have an honest question. Everyone on here seems to hate recruiters. I understand that they seem to think Java and JavaScript are the same thing and generally lack programming know how but why all the hate beyond that?
P.S. For context, I'm still in college so I have yet to come in contact with recruiters.2 -
What do you guys think about the comma expression in JavaScript? I'm aware that due to it's (to some) unknown nature that it can lead to subtle bugs, but I have at least one good use case for it and wanted to hear reasons why I shouldn't use it for similar use cases, but also what would be some other cool (not necessarily "good") use cases :D8
-
Fuck PHP, what a piece of shit language, have to add a fucking $ to every fucking variable wether declared or not, half the fucking functionality of a language such as Javascript with a 1/4 of the features and sometimes these features don't even fucking work properly!!! Like fucking functions requiring to have a function, WHAT THE FUCK? Why does something like javascript .find() HAS TO BE SO FUCKING DIFFICULT!!! Seriously, for all of you who swear by PHP, do the world a favor and dig yourselves a grave and bury yourselves in it. Fucking down syndrome motherfuckers.33
-
When seniors use non asynchronous AJAX...
Why? That is a fairly fundamental part of Ajax...
Y'know...
Async
Javascript
And
Xml
or have I been wrong about what AJAX stands for these past few years?3 -
Why does MobX hate modern Javascript?! It's like I've just entered into a new relationship, and they're already trying to change me!
-
Teaching all my friends JavaScript and thereby learning more myself. What a beast it is to comprehend. Other languages feel like learning a structure and syntax, where as JS feels like learning an entire actual language.
Soon... Soon we will all be speaking ninja code. My evil plan is coming together >:) -
function customActions() {
changeActions(this);
}
Why? Why is this in the code I'm told to refactor?
What am I supposed to do with this?1 -
When I started with javascript long time ago I thought JS is weird enough, but Swift is even more.
Why does it allow me to compile the code below? In the last line `taker.take(view)`, the `view` is an optional passed into a function that expects non-optional `some View`. How is this even possible!? I tried to change the view with some the other protocols, then it complaints, why the `View` protocol is different from the others?
```
import SwiftUI
struct ViewStruct: View {
var body: some View {
Text("")
}
}
class Taker {
func take (_ view: some View) {
print(view)
}
}
class Container {
var view:ViewStruct?
func createView() {
view = ViewStruct()
}
func test() throws {
let taker = Taker()
guard let viewIsView = view else {
throw fatalError()
}
taker.take(view)
}
}
```7 -
My god why are there 10000 ways to do the same thing in javascript? I just want to make a simple todo app without library and don't know which route to go...10
-
why the fuck JavaScript uses === and == ?! it's f***** the same! like iPhone 6 and 6s.. its just the screen!10
-
Why does EJB not allow me to access the methods. works, works, works for 3 methods and bam client access exception for the fourth one. Is there like a method count or something. I dunno if glassfish is unhappy for some reason. PermitAll, refershed Netbeans like a million times. I dunno could just use nodejs and javascript but project constraints.
Okay, enough for my first rant. I will debug away :( -
Made fun of JavaScript and told millions why Python is better than all other languages on this fucking planet. But still...7
-
Why is Microsoft-GitHub buying npm a big deal ? All I know is that npm is a package manager like pip or conda. And JavaScript is one of the most horribly designed languages.1