|
I do quite some work in JavaScript and I do like some aspects of the language, but most of the time it's just a real PITA...
Especially since a lot of people mistake it for Java or C# while it is something completely different! Yes, "123" == 123 and no "123" === 123, but people don't know about === anyway. Or prototype. Or arrays (no, you do not need an array to get something hashmap-like and no, arrays do not have to be instantiated using the constructor).
And then there's the code I had to work with that took loose typing very loose. It had a function that returned an array, string or integer depending on the input. Undocumented. I simply had to try all sorts of input and hope it worked.
JavaScript is like a book that starts out like "A is for Apple". Unfortunately B is for Banging your head against your desk because someone never got past the first page and thought they got it because this is just like Java or C#!
That said, I sometimes miss how easy the language can be if you do it right when working in C# (must... not... use... dynamic...)
|
|
|
|
|
...in Mordor where the shadows lie...
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Interfaces and Frameworks will come and go,
But javaScript is here forever!
Ravings en masse^ |
---|
"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 |
|
|
|
|
|
|
N_tro_P wrote: Sort of like an STD Well - following that analogy, getting to that point is a lot of fun.
Ravings en masse^ |
---|
"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 |
|
|
|
|
|
|
I'm gonna regret replying to you... but it's called a joke dude. I'm sure they have those where you're from.
Jeremy Falcon
|
|
|
|
|
|
Quote: Sort of like an STD And every time you intercourse with it, you'll get a new version of STD.
|
|
|
|
|
I spent some time developing web front-end (Sharepoint, to be specific) and back then Script#[^] was all the rage. Now it seems to be pretty much dead. Web technologies
|
|
|
|
|
Script# was sooooo 2016.
Blemborehoma.js is the new rage and I sh*t you not, it's uber cooool! But look it up soon, or it will be outdated too.
|
|
|
|
|
Rajesh R Subramanian wrote: sooooo 2016
More like "sooo 2011", but I see your point.
|
|
|
|
|
When necessary I use JavaScript directly.
I am not neckdeep in front-end programming and I am too lazy to make first step on my own.
Mislim, dakle jeo sam.
|
|
|
|
|
YAY!
CALL APOGEE, SAY AARDWOLF
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"Go ahead, make my day"
|
|
|
|
|
Don't use it often enough to warrant learning a new library (especially since learning has become difficult for me), so when I do need to use it, I stick with the old tried and true jquery - its generally good enough for what I need to achieve.
Cheers,
Mick
------------------------------------------------
It doesn't matter how often or hard you fall on your arse, eventually you'll roll over and land on your feet.
|
|
|
|
|
Rather than dealing with compile-to-Javascript language bugs, I prefer to use PURE javascript
Find More .Net development tips at : .NET Tips
The only reason people get lost in thought is because it's unfamiliar territory.
|
|
|
|
|
But for the new cycle we consider TypeScript...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
We used Typescript for a time, but then the new version was coming out and it was not going to be backward compatible, so we dumped it for pure JS. Don't miss it.
Hogan
|
|
|
|
|
Is Typescript easy to debug or troubleshoot since the final code is still javascript running on web-browser? So we have to have a good understanding of javascript.
|
|
|
|