Why is Javascript still a thing?
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
-
You will always find morons everywhere :sigh: :sigh: :sigh:
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
It's going to get a little better soon though.. [ECMAScript 6: New Features: Overview and Comparison](http://es6-features.org/#Constants)
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
-
It's going to get a little better soon though.. [ECMAScript 6: New Features: Overview and Comparison](http://es6-features.org/#Constants)
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
And in n years from now, when this pile of (brown mass) has finally reached an acceptable state, then everyone except the last surviving fanbois will be fed up with it and someone will reinvent the wheel and everything starts all over again. They will never learn.
-
And in n years from now, when this pile of (brown mass) has finally reached an acceptable state, then everyone except the last surviving fanbois will be fed up with it and someone will reinvent the wheel and everything starts all over again. They will never learn.
CodeWraith wrote:
And in n years from now, when this pile of (brown mass) has finally reached an acceptable state, then everyone except the last surviving fanbois will be fed up with it and someone will reinvent the wheel and everything starts all over again. They will never learn.
I thought I'd seen you out and about today.. :laugh: [^CodeWraith Profile Photo](https://cdn.shopify.com/s/files/1/1429/5628/products/MRGRUMPYPRINT\_59883df8-2737-45a5-911d-c479c68079cd\_1024x1024.jpg?v=1489491712)
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
-
CodeWraith wrote:
And in n years from now, when this pile of (brown mass) has finally reached an acceptable state, then everyone except the last surviving fanbois will be fed up with it and someone will reinvent the wheel and everything starts all over again. They will never learn.
I thought I'd seen you out and about today.. :laugh: [^CodeWraith Profile Photo](https://cdn.shopify.com/s/files/1/1429/5628/products/MRGRUMPYPRINT\_59883df8-2737-45a5-911d-c479c68079cd\_1024x1024.jpg?v=1489491712)
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
You can't become a CodeWraith until they have drained every bit of enthusiasm and interest from you. JavaScript (or being threatened with having to work with it) makes flipping burgers not so bad a carreer choice after all.
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
It's still around because it, like most of the things that are beat upon in a tribal unison, does its job. My only complaint, really, is that it fails silently, taking other code with it if in the same <script> block. The solution to part two is rather obvious. Take that affront, VB6 (notice tribal chant!) - my director's primary language is SQL. He can write very elaborate applications in VB6, when called upon - and sure, their a bit of a mess compared to when I convert them to C++ or even a web page - but externally, they look just like the others. To the users - no difference. So - I really embraced strong typing, once I got used to it (so many decades ago). Yet, the ability of javascript (and PHP) to treat things as both values and strings - well they're for making web pages, damn it - which are composed of characters. Relaxing the rules on one end makes life much easier on the other.* It's a balance. Once gotten used to, the simplicity it(they) add(s) to the processes it(they) was(were) designed to facilitate are facilitated. It's one less bit of worry when I build pages that usually include four languages, sometimes five. Nothing's for free: strengths are offset with weaknesses or difficulties, somewhere else. C++, for example, take a bit more savvy than C# - yet, managed and unmanaged code has IJW in C++. In DOS, I could access the ROM bios - and did so routinely w/inline assembly (C) - but in NT, all those applications went down the crapper. On the other hand, the O/S was now protected from accidents, usually only single instance crashing instead of the whole machine being taken out because of a pointer error. Win and lose. Yin and Yang. So - the fallibility of javascript - as you see it - is because it's realm gives you some slack to get on with it's purpose. * I'll save others of proposing the analogy of allowing bad food in one end make things way too easy on the other.
[edit]Just fixed some of the typos[/edit]"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
I have to completely agree with Balboos with one minor addition: If you are frustrated by JS it's because you're trying to treat it like C#/Java. It's not the same thing, it doesn't work in the same way, and it's like being mad at a spoon for not being a fork.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
-
I have to completely agree with Balboos with one minor addition: If you are frustrated by JS it's because you're trying to treat it like C#/Java. It's not the same thing, it doesn't work in the same way, and it's like being mad at a spoon for not being a fork.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
GKP1992 wrote:
debugging JS code in a browser is one of the worst things about web development.
It isn't that hard once you learn how things work, in my opinion. I don't see it's problems any bigger than any other language. It works really well for what it does.
There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.
-
You can't become a CodeWraith until they have drained every bit of enthusiasm and interest from you. JavaScript (or being threatened with having to work with it) makes flipping burgers not so bad a carreer choice after all.
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
Actually, I'm rather impressed with the debugging ability in the browser. Granted, a large monitor really helps. ;) Marc
Latest Article - Create a Dockerized Python Fiddle Web App Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
I used to hate JavaScript for probably the same reasons you do. However, I've come to see some of its beauty. Then I ran into some issues in C# and thought to myself "this would be easy in JavaScript." Today, JavaScript is just another tool in the toolbox and, even server side, not my last choice. There are things I don't like about it, but there are certainly also things I DO like about it. And the best part is that it's getting better.
Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
-
It's a lot easier to debug than Haskell, of course that's not much of an accomplishment.
I agree that Javascript does what it is supposed to, but sometimes following its logic becomes a little difficult. And then it snowballs from there. Gets worse every hour, and leaves you with frustration. The lack of coding practices in javascript or the lack of people willing to follow is also to blame. These are the same problems "daddy languages" have faced and tried to resolve over the years. But in the end, everything has its goods and bads. I just wish that it learned from other language's mistakes/flaws. Anyways CP makes working a lot easier. I just had to rant somewhere, but here I also get some feedback which is always nice. :-D I just might finish this today.:thumbsup:
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
It boosts IT employment, shortens the life of those same people, and as a side effect keeps thousands of coffee farm workers busy in far flung places like Kenya and Brazil (even if they only earn a dollar a week.) Think of the horror if they fixed that sort of stuff... hundreds of IT folks out in public... think of the children!
Sin tack the any key okay
-
It boosts IT employment, shortens the life of those same people, and as a side effect keeps thousands of coffee farm workers busy in far flung places like Kenya and Brazil (even if they only earn a dollar a week.) Think of the horror if they fixed that sort of stuff... hundreds of IT folks out in public... think of the children!
Sin tack the any key okay
Undefined reference error - you are speaking about Java, not JavaScript.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
GKP1992 wrote:
debugging JS code in a browser is one of the worst things about web development
:thumbsup: I think it's unanimous that most of us hate JS...especially the part where you get it working in one browser :) , then find that it fails in another! :mad: JS is the least used and least favorite of the half-dozen 'languages' that I work in regularly. As for 'Why is JavaScript still a thing', I think it's fair to say that currently, like it or not, the web runs on JavaScript. Since my duties involve a fair amount of web development, I keep my browser settings such that all script errors are reported. What really ticks me off is the apparent laziness of many developers who depend on the browser's ability to swallow errors (like an automatic on error resume next) instead of checking for 'undefined' or 'NaN'. In many cases, it becomes almost impossible to leave a website due to the onslaught of errors. X|
"Go forth into the source" - Neal Morse
-
Recently, I spent around day trying to find out why something was not working the way it was supposed to. And what did I found out? Nothing! Really, debugging JS code in a browser is one of the worst things about web development. So I begin to wonder, why is this mess still around? :(( Admit it, javascript has a very flawed design. The only reason we still use it, is because we have no other choice. Really if people had the choice of using a friendlier language like C# or Java, javascript would have been in the dumpster by now. I never liked a thing about Javascript and I do not think I ever will. It is crippled. Back to work I guess. And guess what, it is Javascript again. :mad: :((
I am not the one who knocks. I never knock. In fact, I hate knocking. Just barge in will'Ya?
If you're really desperate you can always give [Elm](http://elm-lang.org/) a try... Strongly-typed with type inference. Compiles to JavaScript. Can introduce incrementally, i.e., no need to rewrite everything. No runtime exceptions. (Disclaimer, I've only had a brief look.)
Kevin