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 - "#javascript"
-
"10"+20+30 is "102030"
10+"20"+30 is "102030"
But ...
10+20+"30" is "3030"
One must love JavaScript36 -
Meme intended for physics, but sometimes it also happens in progamming. I am looking at you Javascript.
Source: https://theladyscientist.tumblr.com/...4 -
Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript.3
-
How to become cool in a developer community:
- try javascript for the first time
- pretend to use it like your favorite programming language (99% C)
- notice it is different
- rant about how stupid is javascript and its users7 -
Hold your keyboard! Hold your mouse!
Sons of Java, of Python, my brothers,
I see in your eyes the same fear that would take the heart of me.
A day may come when the sense of programming language fails,
when we forsake our logic
and break all the laws of programming,
but it is not this day.
An hour of headache and shattered monitors,
when the age of Javascript rises,
but it is not this day!
This day we will find solutions on StackOverflow!!
By all that you hold dear on this good code,
I bid you stand,
Developers!!!8 -
What a wonderful language JavaScript is. It's the only language where "(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]" is equal to just simple "." character.6
-
Java in 2000: Just to be clear, JavaScript is not my kid
Java in 2020: Just to be clear, JavaScript is not my dad7 -
A moment of silence for the javascript devs downloading a 13MB of this guy along with their babel transpiler.5
-
Some 40 years old guy on the bus talking with his younger colleague: "If you learn Java, you know Javascript. Javascript is just more compact Java."18
-
JavaScript classes don't need private fields. JavaScript doesn't even need classes.
STOP TRYING TO TURN JAVASCRIPT INTO JAVA.16 -
A kid in highschool asked what are the similarities between Java and Javascript. I told him:
"Java is to JavaScript what Car is to Carpet."7 -
I maintain some of the top 10 most downloaded packages in the Javascript ecosystem - in the order of hundreds of millions of downloads a week. I've worked with hundreds of repositories, thousands of OSS developers, across a few dozen teams (professionally). I've seen just about all of it, for almost 10 years now.
With all that being said, I'll leave it at this:
I hate every facet of the Javascript ecosystem.20 -
Embedding private encryption key in production javascript file and fetching third party session token client side.4
-
Question:
Is it okay to be bad at JavaScript in 2018?
Really freaking hate my JavaScript skills and infinitely long list of frameworks7 -
Normal guy : it's hard to understand my girlfriend ...👯😣💩
Front-end Dev : Ha.. then try Javascript 😎1 -
Javascript is so funny
"0" == 0 //true
"" == 0 //true
"0" == "" //false
Always remember the ===
Realize this took me an hour of debugging7 -
*Drinking game for developers*
Take a dictionary,open it on a random page and pick a random word.
Now google for "<word>.js"
If it's a Javascript library, take a drink.
The winner is the last person to go to the hospital with alcohol poisoning.6 -
Just JavaScript things:
alert(typeof NaN); //alerts 'Number' alert(NaN === NaN); //evaluates false
What else would you expect?4 -
I think javascript is a great language, but it has some really ugly parts.
For some reason, it really annoys me that JS developers are ok with things like
if (typeof something === "undefined")
I mean, comparing strings like that!3 -
JavaScript would say:
I am just as popular as my Dad but nothing like my Dad. Did I mention that I make new babies everyday.1 -
After years of my own dodgy javascript codes, I've started to throw away everything I know about javascript and learn it from scratch.
Learning that functions are objects really helped in restructuring a pile of my code. Eg passing it as a parameter to be executed.
Suddenly callback functions make a lot of sense now, and I've got a new found respect for the language. -
Junior developer: I have been using JavaScript for the last three years. Can I do something to improve?
Me: It is as dangerous as coronavirus but you can recover.3 -
Javascript promises: I JUST WANT THE FUCKING VALUE OF A PROMISE.
WHO THE FUCK THOUGHT PROMISES SIMPLIFIED ANYTHING?!9 -
Is it just me or JavaScript on the browser really has become over complicated then it should be? It’s way overkill for the job that it’s supposed to do. Every time I hear about these new frameworks and I see the guys just loving it I cringe so hard, I want to say something then I stop because they are loving it sooo much. It’s a disaster I hate looking at the front end it’s a huge pile of fancy shit.6
-
Trying to reflect JavaScript changes for about an hour on chrome to eventually realize that cache wasn't cleared..6
-
Quote of the day:
The strength of JavaScript is that you can do anything with it. The weakness is that you will!!!
🤣🤣
- JavaScript Allongé -
Trying to learn es6 JavaScript and Vue js, whilst also maintaining sites using jquery.
My head is about to explode... -
Oracle has banned an app in the App Store because it contained “JavaScript” in the name... any ideas for the new name for JavaScript©️?
Reddit: https://reddit.com/r/javascript/...8 -
*literally any arithmetic operation which is hideously wrong*
Almost every JS dev : Is this JavaScript?1 -
Stuff is so rapidly depricated in javascript that you always have to add current year in Google searches to find something relevant.
"Dammit, this answer is from 2016, probly no good today". -
Worst thing to happen as a JavaScript developer is that someone on your team insists on using JQuery in a project using a JS framework like Angular.2
-
I'm reading 'JavaScript: The Good Parts'. Nearly a quarter of the way through and all I've read about are bad parts. I thought this would make me like JavaScript more, not less!
-
What the Fun Javascript!!!
'==' in Javascript is supposed to do type conversions, before comparing the two items.
Then...!!8 -
ESNext (next version of JavaScript) — because no matter what I do, as long as I'm working with web technologies, JavaScript is king. My career has evolved from UI-focused work, primarily working with JavaScript, yet I've also worked on embedded platforms and even operating systems! JavaScript is my foundation and you must always remember your roots!1
-
Piddling, and trying to learn some game stuff. Very simple game stuff.
Example code:
if (level % 10 === 0...) {
speed += 0.3;
...
} else if (level % 5 === 0...) {
speed += 0.1;
...
}
But because Javascript, console log reads:
speed: 0.5 <-- this is the initial console log
speed: 0.6
speed: 0.8999999999999999
speed: 0.9999999999999999
Well done Javascript, well done.25 -
My team lead thinks using a double Not operator in javascript is too confusing and not readable.
Opinions?29 -
Most of my time coding in Javascript goes to handling null checks and fixing crashes caused due to missed null checks.
`"abc" is undefined` is an error which I must have seen more number of times than any other bug in console and even in real life.2 -
God help me if I ever meet the person who created Javascript.
Happy it wasn't my first programming language or I would have quite coding even before I started.
I had rather fail in C++ a thousand times(I failed C++ in highschool) than ever code in JS.
#The hottest mess I ever met.8 -
In case the kiddos ask if you can hack Facebook or whatever, here's a nice little JS code. Copy paste it into the URL, hit enter and select + edit whatever you like!
javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0
ps: in chrome the 'javascript:' at the beginning gets removed so you'll have to manually add it. not sure about other browsers3 -
I don't get all the hate for Javascript, or I might be spoiled with ES6 and React clouding my judgement. :P
I could write web pages in Javascript all day long. It's better in my opinion then writing pure HTML and CSS. ¯\_(ツ)_/¯
Maybe I'm more cut-out for full stack dev work then I thought...3 -
Why are most people here opposed to JavaScript?
I use it daily and can’t understand why people dislike it so much.25 -
JavaScript... Why are you so complicated. Simple, but complicated. When "this" doesn't always mean "this".. there are lots of ... complicated things.2
-
How can Javascript, one of the MOST WIDELY used and MATURE languages with A MILLION CANCEROUS FRAMEWORKS, NOT have a basic collections class? Are data structures not important in Javascript?
I've been struggling all night trying to get Sets working - surprise, they're utterly useless in Javascript cause you can't define the set comparator.
I just lost it when I found out THERE ISN'T EVEN A QUEUE. WT-ACTUAL-F15 -
WHAT COCKSUCKING LUNATICS DECIDED TO MAKE A PDF ONLY ABLE TO DOWNLOAD WITH JAVASCRIPT.
I CANT DOWNLOAD YOUR FUCKING PDFS TO SIGN BY TONIGHT BECAUSE ALL I HAVE IS MY IPad. WHICH DOESNT FUCKING HAVE JAVASCRIPT
THERE IS A TIME AND A PLACE TO USE JAVASCRIPT AND THIS IS NOT ONE OF THEM. GO CASTRATE YOURSELF WITH A RUSTY KNIFE5 -
TIL that in JavaScript [1, 2, ] gives you a 2 elements array, while [, 1, 2] gives you a 3 elements array
WTF JavaScript???7 -
I think that most people complaining about JavaScript didn’t write any line of JavaScript in there life.14
-
Guess what below if condition evaluates to true in javascript
-- and they say Javascript is beautiful 🙃🙃
if(test == 7 && test == 9 && test == 11) {
console.log('Hello World!');
}4 -
Testing a script embed plugin I am building on various random websites, and came across this.
Like, bruh; have you ever heard of a javascript map? Basic functional programming? Or even a switch statement?
It's the same statement, over and over again, but with different parameters. Even old javascript had enough tools to do this with at least a basic stench of "efficiency"11 -
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 -
Does it really need to learn jquery in 2019? Bc I read some websites saying that JavaScript has developed and no need for javascript , is that true?10
-
Does anyone else turn to prayer when their JavaScript build craps out on them , even on production? I'm thinking of forming an es7 prayer group
-
Named exports vs default exports. The best overview I've seen so far.
https://humanwhocodes.com/blog/... -
To my colleague on the desk beside: Please don't code Javascript so close to me. Keep some safe distance. XD5
-
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 -
Functional programming, Reacts! Because that's what the cool kids are using now... nice rant https://hackernoon.com/how-it-feels...
-
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/... -
That dogmatic "always use === when writing JavaScript"... It's a matter of context, we just discovered a bug produced by that.12
-
Does this book worth reading?
Hello I've finished several books about JavaScript already and many of them mention this one
JavaScript: The Definitive Guide, 6th Edition [2011]
I am a bit embarrassed, because despite it looks like a thorough 1000 pages guide, its last edition dates 2011 year.
From one point of view, it should contain core concepts that still remain the same, from the other, reading 2011 book in 2018 sounds like a not very good decision.
What would you say?8 -
JavaScript engine trolling: input field in html defined as a number but JavaScript insisted it was a string! But only that one field. That is same as the rest.2
-
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 -
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 -
To all JavaScript devs in here, what are your current feelings toward the emergence of WebAssembly?7
-
Still frustrated at HRs confusing JavaScript with Java and give me a weird look when I say I program in Go :31
-
I'm having trouble making proper structure of my JavaScript. No interfaces, no traits. I'm use to a real strategy design approach using php and c#. I don't know if JavaScript allows for that kind of design.7
-
Question for developpers : yesterday I discussed with my colleagues at work about "How to log front end with javascript". Anybody has already set up a javascript logger ?1
-
Biggest annoyance when working with JavaScript ?
Overconfigured ESLint.
Space here NOT allowed!
Mandatory here, forbidden there.
COME ON! -
Are there any class based JavaScript test frameworks? I dislike the whole describe/it setup. I know it's basically the same thing, but I prefer the class setup in .net with xunit. I like being able to write abstract classes for tests..2
-
If anyone is gud at highcharts can you please explain how to dynamically create series in highcharts using pure JavaScript1
-
Im learning Javascript, where can I find some documentation about the methods and classes of this language?7
-
You know what's new among my team?
The one that put semi colon and the one doesnt. (Yes javascript)1 -
Do anybody have a Nice Code on a sorting algorythm to sort arrays with. The algo shall be in Javascript please sens answer IF you have.4
-
In JavaScript there are two kind of persons:
1) var self = this;
2) function(){}.bind(this);
Do you recognize yourself?4 -
How do you check if your input string does not have numbers it? If not then say enter a number? JavaScript please22
-
Why on earth would you create an entire new HTMLImageElement in the javascript file just to get the width and height of an image and never render it to the DOM. FFS use MS Paint, 3D Paint or ANY OTHER IMAGE EDITING SOFTWARE to get the size.
Seriously you over engineered the shit out of the easiest const you'll ever write in JavaScript.
And for the record, the width and height of the image used are only used in formulas which produce the actual width and height of the mock buttons that get drawn onto the canvas element. And don't worry, the click event handler for these mock buttons is actually the click event handler for the canvas...which checks the coordinates of where the click was made on the canvas. And if the click is over where the button is drawn in, congrats you clicked the button.