Ranter
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
Comments
-
The poor beginners seeing this will get a very poor relationship to JavaScript... Haha
-
@-noob Pretty much bit this is a joke which i am surprised is allowed to exist on there and wasn't flagged.
-
I like how the last comment got so many negative points. No one I their right mind would use + to add values together. That's just silly
-
kurtr127558ySimple!
function addVars(a,b){
return Array(a).concat(Array(b)).length;
}
or...
function addVars(a,b){
var total = 0;
for(i=0;i<Number(a);i++){
total += 1;
}
for(i=0;i<Number(b);i++){
total += 1;
}
return total;
} -
I feel like this has been my entire experience on SO. But, that's probably enough content for a new rant.
-
Vanilla jQuery is so 2014!
You have to use a jQuery plugin to issue a JSONP request to a NodeJS microservice which uses the add package from npm with the results cached in a... ðŸ˜ðŸ”« -
irshu1548y@FR4NKESTI3N bcoz it's fucking obvious. Stackoverflow people doesn't go that low. And the person who ask the question obviously didn't do any research.
-
kamen69848yActually it does get old - Stack Overflow has had several design iterations since this screenshot was taken.
-
cdrice41968yI desperately want to view each of those questions in the Related section now.
What IS the best number?! -
plant991356yI couldn't find a link to this page, not in the related reddit thread, or in Google to the stackoverflow page. Now I doubt it's credibility. :/
-
So this is obviously fake but (at least one of) the users is real - Bobince.
If you don't know Bobince, they're probably my favorite SO user of all time. They wrote the famous "the <center> cannot hold" answer on the "using regex to parse HTML" question:
https://stackoverflow.com/a/...
Related Rants
This never gets old...
undefined
javascript
jquery
you're doing it wrong