3 ms·
Have you ever programmed in JavaScript? I don't use any of those frameworks or transpilers and it's nice. ive written plenty of ruby, Python, Java, and C. What
by krisdol 11y ago
Have you ever programmed in JavaScript? I don't use any of those frameworks or transpilers and it's nice. ive written plenty of ruby, Python, Java, and C. What are you talking about with syntax checking anyway?
- such_a_casual 11y agoI'm talking about chrome's extension library returning NULL instead of a "tab" object when creating a new tab because of a syntax error in a completely different file.
- pluma 11y agoYou're judging JavaScript by Chrome's extension API?
- such_a_casual 11y agoIt had nothing to do with Chrome's extension API. The API works perfectly fine. It has to do with the nature of JavaScript where syntax errors are "forgiven" leading to unforgivable bugs that require line by line review unless you use a tool to check your syntax. This was not the first, last, or only syntax caused bug I experienced. It was simply the most frustrating and inexplicable.
- pluma 11y agoSyntax errors in JS throw exceptions. JS syntax tends to hide certain mistakes but errors always throw. If Chrome's extension API swallows exceptions, that's not a JS problem.