|
Three real stinkers there: Python, JS, and VB6/VBA
VB6: No language that includes On Error Resume Next should be allowed to live.
Python: Significant indentation, but spaces and tabs both count as one character - so two identical lines in an editor are in different blocks.
Javascript: A total absence of type safety, and the "evolved from pond slime" design of the language.
It had to be JS in the end.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I have a few language choices: Objective-C, Bash/Powershell and VB6.
I used to work on a Qt desktop project that uses C++, Python and Javascript. Imagine the horror of debugging it.
Argh... Why can't we code in a single language?!
|
|
|
|
|
"No language that includes On Error Resume Next should be allowed to live."
What about WPF? The default there is to resume next on binding errors...
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
Python: if there is a line of code in an import, it gets executed. Ouch. Also allows changing the class dictionary. Duoble ouch.
GCS/GE d--(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--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
JS "Evolved from pond slime" heh.
I wouldn't have lumped VB6 & VBA together though.
I agree about "On Error Resume Next" the big problem with turning it off was that unless the entire team was religious about catching errors, if you came along and added a new function with "On Error Goto [my handler]" any error in a completely separate lump of code would stop in YOUR nice shiny new function. As a contractor you don't want that.
But then is that any different to c# code with no try...catch etc?
As for VBA - no, I don't know the entire object models for Word, Excel, Outlook etc...how about some decent intellisense MS?
Don't feed the Trolls, they bite.
|
|
|
|
|
Of the three, VB6 was actually the least offensive to me. And that's saying something. I agree with you though, no argument from me!
To err is human. Fortune favors the monsters.
|
|
|
|