[OT] Ada gems

via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 15 16:17:53 PDT 2014


On Wednesday, 15 October 2014 at 21:29:23 UTC, Paulo Pinto wrote:
> Who needs stars when working on an enterprise budget? :)

Yeah, these metrics are skewed, but it is interesting to see what 
kind of projects people get excited about in different languages.

I didn't expect Go to do so well on github. I found that 
surprising.

> Besides, Ada never was an hobbyist language. Only after GNAT 
> Core decided to release their compiler as GPL, universities 
> decided to pay attention.

Ada is "industrial", and comes through as a bit syntax heavy for 
casual use. Still, the feature set appears to fit well together 
when reading about it.

Go on the other hand comes through as a bit arcane and the 
defer/panic/recover error handling is kind of weird and the 
syntax for it does not indicate that it is about errors. Which I 
think is important to make distinct. So I have trouble liking Go 
when browsing Go code for the same reason I'd never want to do 
anything large in C. Then again, it took a while for me to get 
used to C-style braces after being used to languages like Pascal. 
So maybe it grows on you… (doubt it).

Not that I like regular try/catch exceptions either. A more 
efficient "transactional" approach to error-handling seems more 
attractive. A solution where you don't sprinkle error-handling 
code all over your codebase. It probably requires high-level 
language support if you want to avoid the extra  noise that 
"plague" current error handling solutions… :-/


More information about the Digitalmars-d mailing list