Anything else just isn't Enterprise enough.

I really wish that compilers were more user friendly

"Data definition has no type or storage class"

vs

"You forgot the return type for your function"

Which is easier?
Permalink Tristin 
September 9th, 2017 9:57pm
Are you using a compiler right now?
Permalink T 
September 9th, 2017 10:04pm
Be glad you're not using this:

https://github.com/munificent/vigil

(Worth reading for the slow-burn LOL !)
Permalink Trog 
September 10th, 2017 7:26am
haha sehr gut
Permalink , Cup 
September 10th, 2017 9:11am
C, being a relatively simple language, can have really good diagnostics when you do stuff 'wrong'.

But that's unusual.  Leave out a semi-colon, and you'll get a flood of error messages.

Pascal, being a VERY simple language with a VERY simple compiler, can have EXCELLENT diagnostics, going so far as to tell you the line and character it has a problem with.

This may be why very few people use Pascal anymore.

Java, being a highly object-oriented language (EVERYTHING is an object, almost) generates stack-dumps nested 16-deep to tell you it's got a NullPointerException (it seems like it's ALWAYS a 'nullpointerexception') -- only WHERE you failed to set your pointer, isn't anywhere in the stack-dump.  All YOU get to see is the stack-dump down to where your poor little null-string was attempted to be used.

Bottom line: Computers are NOT "friendly".  Humans who write computer languages are only friendly to themselves, and only to a limited bit.  Therefore Compilers are NOT friendly.

Therefore: Program defensively.  Belt AND suspenders.  REPORT when stuff isn't what you expect, even if it's impossible for stuff NOT to be what you expect.  Because what YOU think is "impossible" is NOT what your compiler thinks is impossible.  And it's your compiler who has the last laugh, not you.
Permalink SaveTheHubble 
September 10th, 2017 12:02pm
<image of StH in suspenders for British English speakers>
Permalink Trog 
September 10th, 2017 3:24pm
Although StH is right of course.  If you want friendly error meaages stop creating/using stupid tricksy-clever languages with ambiguous grammars.
Permalink Trog 
September 10th, 2017 3:26pm
Can I throw in the pocket protector to that image?
Permalink WildRiver 
September 10th, 2017 3:27pm
{{{{{{}}}}}}

^ suspenders?
Permalink Reality Check 
September 10th, 2017 3:28pm
Remember that Hubble isn't wearing suspenders for his west coast or east coast swing dance! lol
Permalink WildRiver 
September 10th, 2017 3:33pm

This topic is archived. No further replies will be accepted.

Other topics: September, 2017 Other topics: September, 2017 Recent topics Recent topics