Javascript , a devil spawn language.
-
I still can believe the web runs on it! If there is any proof the devil exists javascript must be it. It is so easy to make a mistake and not catch it until you are debugging.
-
I still can believe the web runs on it! If there is any proof the devil exists javascript must be it. It is so easy to make a mistake and not catch it until you are debugging.
I can understand your frustration. Maybe you want to take a look on TypeScript.
-
I still can believe the web runs on it! If there is any proof the devil exists javascript must be it. It is so easy to make a mistake and not catch it until you are debugging.
Auto-completion can't do it all. In a compiled language, the compiler might catch an error - but not a bug. In a scripted language, you need to run it. If either of these routes is unsuitable, I would suggest finding an alternate language for your problems.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"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 can understand your frustration. Maybe you want to take a look on TypeScript.
I've done some typescript and I absolutely love what Anders Hedjelsberg did. The library I will be using still needs a typescript facade though , so I have to stick with javascript. I can't help but wonder what were the twisted minds that created this devil-spawn language thinking when they were going through the design process.
-
Auto-completion can't do it all. In a compiled language, the compiler might catch an error - but not a bug. In a scripted language, you need to run it. If either of these routes is unsuitable, I would suggest finding an alternate language for your problems.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"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
Auto completion can't do it all. Well , of course not , but it's a great tool when you are learning a new library. Even after you have learned it's a big help. In a compiled language, the compiler might catch an error - but not a bug. In a compiled language the compiler will catch all syntax errors. And it will spot some bugs ( dead code, unused variables , uninitialized variables). If either of these routes is unsuitable, I would suggest finding an alternate language for your problems. Of course they don't suite my needs, I'll be using typescript whenever I can unluckily for some cases there is no other choice than using javascript.
-
I've done some typescript and I absolutely love what Anders Hedjelsberg did. The library I will be using still needs a typescript facade though , so I have to stick with javascript. I can't help but wonder what were the twisted minds that created this devil-spawn language thinking when they were going through the design process.
I do believe they were thinking about making a language the ENTIRE web could run on. Not simply making the process easy or simple for you.
-
I still can believe the web runs on it! If there is any proof the devil exists javascript must be it. It is so easy to make a mistake and not catch it until you are debugging.
Armando de la Torre wrote:
It is so easy to make a mistake and not catch it until you are debugging.
That's true for any language. But JavaScript does keep you on your toes. If you miss a closing bracket somewhere you may not notice it for quite a while. JS can be a pain.
There are only 10 types of people in the world, those who understand binary and those who don't.