3 ms·
I haven't learned Ada yet, but I've heard praise and eulogies from HN a few times it has been mentioned in recent years. At first pass, it appears to have a lo
by tomrod 10y ago
I haven't learned Ada yet, but I've heard praise and eulogies from HN a few times it has been mentioned in recent years.
At first pass, it appears to have a lot of unnecessary keywords, and the semicolon terminator (at first pass) seems arbitrarily required.
Is it really that great of a language? What does it provide that FORTRAN, C, and/or Julia don't provide in terms of speed, or Python in terms of readability?
- toomanybeersies 10y agoThe advantage of Ada is that it's meant to be an incredibly safe language. That's why blocks have to end with the block type (e.g. if...end if) This is to ensure that you haven't accidentally nested things wrong. It also has runtime bounds checking for arrays, ranged variables, no multi-line comments, safer pointer handling etc. At the time, it was definitely one of the safest languages to use. Fortran is a real pain to read or write, and is designed more scientific computing than applications. C is terribly unsafe (hence why buffer overflows are the most common security vulnerability).
- kbenson 10y ago> from HN a few times it has been mentioned in recent years At some point, nickpsecurity[1] will find this thread and school us all on the intricacies of Ada. ;) 1: https://hn.algolia.com/?query=nickpsecurity%20ada&prefix=false&page=0&dateRange=pastYear&type=comment&sort=byPopularity https://hn.algolia.com/?query=nickpsecurity%20ada&prefix=fal...