What in the ACTUAL NIGGING FUCK is going on in JavaScript land right now?
Who the fuck thought it would be smart to just continually fork the last stupid fucking framework until it became the programming world's biggest clusterfuck ever?
Just what is the fucking point? Can't all these pajeet fuckers just agree on one that is cutting edge and then go back to pooing outside of the loo?
> Who the fuck thought it would be smart to just continually fork the last stupid fucking framework until it became the programming world's biggest clusterfuck ever?
Hi Angular 2
Daniel Gray
>Just what is the fucking point?
Stockholm syndrome. People trying to "fix" a broken language ... by using that language.
Similiar effect to "if you vote a third party you throw away your vote". Most people can't think for themselves, so they bandwagon on something making it all self-fulfilling prophecy, no matter how terrible it is.
This is why we need fascism instead of manufactured consensus. Sorry for /pol rambling.
Angel Nelson
Javascript was designed over the years by web developers. Web developers have no fucking concept of how hardware works (or even the OS for that matter). This is why it's a shithouse.
Jackson Gray
ECMA6 is making some JS frameworks obsolete
Parker Moore
No, you need direct elections like many European countries have. So you can have 12+ parties in the senate who are forced to cooperate.
Josiah Harris
This tbqh.
Also: web dev is meme central where everybody is rushing to put the latest/greatest thing on their resume. It's like being a liberal in DC. Your status depends on how many names you can drop.
And: web devs are suckered by hype. Every new thing is going to revolutionize web development, just you wait and see. They don't realize that NewShit 1.0 is no more productive than OldShit 3.5, and the act of transitioning to NewShit 1.0 costs more man hours than AnyShit could ever save.
I hate the modern web.
Adrian Gutierrez
>No, you need direct elections like many European countries have. So you can have 12+ parties in the senate who are forced to cooperate. As a European, this is wrong. More parties = more special interest agendas, less unity. A fascist government with the people's (as a whole) interests in mind is objectively superior. It's a shame that fascism as a political system is seen as "wrong" because of historical occurrences.
Xavier Wood
This is actually what we have in web dev. Every fucking Pajeet thinks he can play a pivotal role in some new damn js framework. At the end of the day you need to mesh together a dozen languages and paradigms.
You don't see this shit at Apple (for example) because ONE entity controls the API for macOS/iOS development. It's Cocoa or GTFO. Microsoft is some where in between because while they control the manner in which you develop for Windows they themselves are meme-of-the-week, so there are twenty ways to accomplish a task in a native Windows application.
Ryder Moore
You don't see it in C/C++ either, nor Python for that matter. Webdevs hate Python (I assume because of its strict structure) and couldn't hope to program in C/C++. Java is somewhat fragmented but nothing like JS.
JavaScript devs are relearning everything php and python devs already took years learning. But faster, at least.
But rejoice. WebAssembly is coming soon.
Adam Wilson
Lol the worst part about JS is Electron. It's highly malignant cancer.
Jacob Cruz
Yet another piece of shit on the web browser plate to have to deal with. Amazing.
And before you say "but this will be better!" tell me when that was ever the case.
Henry Murphy
You don't have to 'deal' with anything, you'll be able to write C/C++/Java instead of JavaScript if you want to. That's it fucko.
Brandon Scott
It's infinitely better than shitty "native" toolkits like Gtk or Cocoa.
Ryder Barnes
>What is Qt
Kayden Wood
A bloated pile steaming sepples crap.
Michael Phillips
You don't necessarily need hardware experience to write a good programming language.
The problem is that web developers have no concept of how actual development works.
Noah White
Nice utopia what you got there.
Ryder Powell
This was for sanitizing inputs. Not that it isn't retarded.
Angel Wood
>he can't into C++
Josiah Powell
I hardly outlined a fascist society. I guess you just don't like fascism (probably have no clue what it means, but suspect it is 'bad' for some reason), hence your snarky reply.
Liam Williams
The "anything is an object mentality" makes input sanitation that much worse. In C and related languages you would have something to catch an error on trying to put any other value into an integer.
Zachary Thompson
>go to demo page >THIS ISN'T SUPPORTED BY YOUR BROWSER
Jason Kelly
>web assembly
I wish people would stop putting shit in when they can't even get the basic stuff working right.
Now I know how mechanics feel working on modern cars.
Hunter Phillips
Phoneposter or Safariposter?
Ethan Wilson
I'm using fucking Firefox on desktop.
Point is, a 'wide range of platforms' it's aiming for isn't working on current browsers, let alone older ones that others might use.
Lucas Stewart
Who cares. Only fucking retards use frameworks in the first place.
Jordan Phillips
>demo is a shit game with a shit engine
WebAssembly has already failed.
Andrew Gutierrez
Using Chrome here and it tells me to enable the flag for it.
Xavier Sullivan
The "anything is an object" mentality has nothing to do with input sanitization you idiot. User inputs are going to be strings in C++ or Javascript.
Adam Perez
>User inputs are going to be strings in C++ or Javascript. No, they aren't dipshit. In C++ you would have declared an integer variable, never use a string for integer input.
John Reyes
And what's going to happen if the user types in 'fuck you faggot' instead of a number into the text box?
It will fail to be assigned and break the operation.
Cooper Ramirez
And crash the entire application? What a great design!
Evan Torres
Guess what Try..Catch statements do....
Carter Butler
So you have to add additional statements to validate user input? And on top of that an extremely vague statement that gives no indication as to what went wrong?
Levi Rodriguez
great way to optimize app, can see your anti pajeet code with million try catches and only 20 lines of actual logic
Easton Russell
No, if the catch fails, the input was incorrect. You throw an error based thereupon.
Nathaniel Richardson
What do you think javascript has to do behind the scenes? Do you think the operations are some buttfuck magic?
Jacob Sanders
Which input? What if there are multiple inputs in a form?
Kayden Watson
You've never programmed using a lower level language, have you? You have to build each of those items individually, you have to sanitize everything individually. Javascript has a shitton of prebuilt code that has to account for several situations whereas C/C++ would be very direct.
Jace Rivera
will return "You fucked up, not me, you use real language now, learn to be responsible" :D
Logan Baker
ok wtf, you could have just made a fucking loop to do all of that in js.
Jaxon Rodriguez
if (parseInt(input) != NaN) { // do stuff }
Wow! So hard!
Angel Green
lol loops, in any language, 2016.
Dominic Allen
That's Javascript, asshat.
Chase Gomez
And is there an easier way to validate an integer input in C++?
Ryan Nelson
No, but that goes along with what I was saying about prebuilt code. In C++ you would make a function to handle it (similar to what is built into Javascript) and then call it (similar to Javascript).
Carter Ross
So having prebuilt code to perform input validations is now bad?
why do people use c++ vs js to prove a point? except js, c++ is only programming language I consider relevant in the current year (after learning at least 12 languages those 2 are what I chose) everything else is just a waste of time, good for something specific, but not worth investing time when you can do much more (timewise) with just those 2 (of course HTML,CSS and SQL are a must)
Lincoln Baker
Seems to work as intended while accounting for all the possible edge cases. A few would definitely be missed if you were to write it yourself, and even atoi is not as robust.
Jace Adams
C++ is the basis of structure for many other programming languages whereas JS just throws shit around.
Aaron Carter
>Those functions are implementation specific depending on browser, and are not written in JS (unless somebody's decided to write a browser engine in JS). The code is not guaranteed to be the same across environments, though they do have to (in theory) adhere to the ECMAScript specification for their behavior.
>answered Mar 20 '13 at 20:43, Ben McCormick
Kayden Sanchez
Try-catch would account for any edge cases unless there were a flaw in your compiler.
Cameron Butler
>/pol >not Sup Forums
William Martinez
>Still requires several more steps to verify
Dylan Sanders
Try catch statements do not perform input validation. You're a fucking idiot.
Brody Ramirez
>Being this retarded Ok, let me break it down for the slower ones:
Try.... Assign input to integer....(fails) Catch.... Do something
Nolan Carter
And how are you assigning the input to an integer? Post actual C++ code that converts a string to an integer.
David Clark
There is no conversion.
int input; cin >> input;
Owen Richardson
And how does cin tell whether the user input is a number or not?
Anthony Brown
cin doesn't have to, the assignment either fails or does not fail.
Parker Cook
Wow. And people say JS developers don't understand how computers work.
Noah Williams
This is how I know you're a JS developer.
Nolan Ward
I'm an employed software developer who regularly writes projects in Javascript, Python, C++, and C#. If you think the C++ language just magically knows how to assign a stream of bytes to an integer value then you are fucking retarded.
Ryan Jones
Then you should be fired. cin provides an input stream that either succeeds in being assigned to the variable or fails. There's no magic to it, the string does not assign to the integer.
Christian Phillips
And what decides whether it succeeds in being assigned or not?
Nathan Walker
The type of variable that was declared. When the variable was declared a section of memory was assigned, if the thing you're trying to assign to the variable does not fit in the memory then it fails.
Julian Hill
An int is 4 bytes. 4 characters is also 4 bytes. Are you saying if I type 'abc\n' then that will get assigned to the space reserved for the variable?
Camden Young
JS should die.
Zachary Morgan
cin doesn't process strings directly, it's not a complex piece of code. You may be able to get away with one character which would be stored directly as a char code, it would otherwise fail.
Adam Garcia
So if I type '\n' into a cin directed to an integer what will it store?
Jackson Peterson
and it will, when something better comes, but for now we are secured
Jason Johnson
he could have very well used a loop to generate that. the markup shown is just the chrome console, already delivered to the client.
Tyler Allen
You should die, queer.
Camden Jackson
huh. Well I made an ass out myself.
Joshua James
10
Isaac Turner
LOL Thanks for proving you're a total idiot with absolutely no knowledge at all on what the fuck you are talking about. You could have at least tried it for yourself but you just had to make a fool out of yourself. I bet you couldn't even write and compile a hello world correctly.
Jace Howard
Hey man, you can pretend to be a C++ developer online. It's cool, no one will question you.
Justin Rogers
I'm not pretending. It's sad that you still insist that you know how C++ works when you can't even compile a basic program.
Dominic Rogers
It's sad that you argued for that long.
Jace Hill
>hehe i was pretending to be retarded all along!
Xavier Martinez
>Not being able to have called it earlier Seriously? I still don't believe you're a C++ developer but if you are that's pathetic.
Anthony Green
nice backtracking back to india you go Pajesh
Ian White
Stay mad bro.
Dylan Wood
Electron is the worst cancer ever made on the industry
Kevin Cox
There are actual arguments for voting third party, claiming people who are against it are incapable of independent thought is not one of them.
There are pros and cons to all voting strategies and that's where the conversation should start.
Jose Diaz
Not him but you're a fucking coward. Take that beat down on the chin and educate yourself.
Eli Edwards
No that's Qt.
Logan Rogers
I think you underestimate the ability of a troll with google.
Isaac Johnson
Plz explain to us how "actual development works".
Every web developer I know has a CS degree and I got my start writing ASM for z/OS mainframes.
Grayson Gray
JavaScript devs ARE php and python devs.
There was no such thing as a full time JS developer 6 years ago.