A few years ago I worked on a project that used Coffeescript; but because it had to be transpiled into JS the code I was debugging in the browser looked nothing like what I wrote, making it far more miserable to debug.
If/when not-JS can be natively debugged in all the major browsers (Chrome, Edge, Firefox, Safari) it might be time to consider an alternative; until then I'll stick with the devil I know.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
Not only weakly typed, but interpreted as well. Both are evil. I detest both "qualities".
Tell me what I do wrong as I type, or at the latest when I run the compiler. Tell me for all my code, not just the code lines being executed at one specific run. Tell me where there might be problems - I'll flag it as OK if I know what I am doing.
The first C++ compiler I worked with compiled to K&R C (and the C++ compiler was written in K&R C). That way, Strostrup could in a single go offer C++ compilers for "any" machine regardless of instruction set or libraries. K&R C was treated like the instruction set of a virtual machine.
Maybe JS could be treated a similar way. Write your application in a typed, compiled language and have it compiled to the instruction set called JS, for execution on any virtural JS machine. That is the only decent way to make use of JS. You should be as much (or little) concerned about the JS instruction set as you are of the x64 instruction set.
Glad you're just joking, there are a lot of code snobs around who think VB/VBA are "toy" languages, just like whenever you post a question about MS Access the "geniuses" post comments like "Access is crap, use a real database like SQL Server or Oracle" etc.
Weakly-typed languages are IMO too error-prone for production work
Daniel Pfeffer wrote:
TypeScript is only putting lipstick on a pig.
To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson
Our heads are round so our thoughts can change direction - Francis Picabia
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
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.