News for hackers. Stuff that matters.
Re:Introduction to Ada by khazhoux on Thursday September 03, 2020 @12:21AM (#24360770)
Petty and inconsequential as this sounds, I'm convinced Ada go have gone farther if it didn't have capitals and underscores in all their libs, and long keywords like `procedure`. All that shift-key action makes Ada a physically painful language to work in.
Re:Introduction to Ada by synack on Thursday September 03, 2020 @12:27AM (#24360796)
One of the "Steelman" requirements that Ada was built to satisfy was that any program should be able to be represented with a subset of ASCII that would be compatible with the largest range of terminals, teletypes, and punched cards as possible. Less relevant today, but that's why Ada has so many keywords in it's syntax.
Re:Introduction to Ada by khazhoux on Thursday September 03, 2020 @12:43AM (#24360858)
Re:Introduction to Ada by synack on Thursday September 03, 2020 @12:44AM (#24360863)
That was an April Fools' joke.
Re:Introduction to Ada by burfog on Thursday September 03, 2020 @01:25AM (#24361007)
Seriously, the curly braces are a huge improvement. That's no joke.

The "fn" and ":" are good too.

I'm less sure about "include", because I doubt Ada does textual inclusion. If it does, then that is good too. Otherwise, better choices might be: using, use, require, requires, depend, depends, external, library, unit, module...

Re:Introduction to Ada by Lucretia9 on Thursday September 03, 2020 @04:47AM (#24362030)
I don't get this whole need to shorten keywords to 2 letters when the IDE will just autocomplete them, it's really stupid.
Re:Introduction to Ada by kwhitefoot on Thursday September 03, 2020 @08:06AM (#24363166)
Not everyone wants to write code in an IDE. Quite a lot of people prefer a text editor of some kind.
Re:Introduction to Ada by Lucretia9 on Thursday September 03, 2020 @02:37PM (#24367227)
VSCode / Atom aren't IDE's, they are editors with lots of plugin's, like VIM and Emacs are.
Re:Introduction to Ada by pjmlp on Thursday September 03, 2020 @09:32AM (#24363847)
The wonderful programming experience of UNIX V6.
Re:Introduction to Ada by Lucretia9 on Thursday September 03, 2020 @02:38PM (#24367230)
ed?
Re:Introduction to Ada by burfog on Thursday September 03, 2020 @03:24PM (#24367757)
I can't stand that autocomplete. It gets in the way of actual typing. What if I want nothing in the list? What if I actually want to use the arrow keys immediately after that thing has decided to trigger?

It probably also cuts down on human ability, like never taking the training wheels off. In the long run productivity might be lower.

Re:Introduction to Ada by kirghiz on Thursday September 03, 2020 @03:15PM (#24367653)
The point of using the end statements is to make sure the programmer knows which clause is being closed.
Re:Introduction to Ada by khazhoux on Thursday September 03, 2020 @12:47AM (#24360870)
Ha, that's what I get for posting stuff without reading it.
Re:Introduction to Ada by protomyth on Thursday September 03, 2020 @07:00AM (#24362765)
Like all good jokes, there is a grain of truth in it.
Re:Introduction to Ada by Lucretia9 on Thursday September 03, 2020 @03:35AM (#24361653)
You should count up how many keywords C++ has, then count the number in Ada.
Re:Introduction to Ada by thesuperbigfrog on Thursday September 03, 2020 @04:54AM (#24362072)
Assuming I counted correctly,

Ada 2012 has 73 reserved words: http://www.ada-auth.org/standards/rm12_w_tc1/html/RM-2-9.htm...

C++ 20 has 97 keywords: https://en.cppreference.com/w/cpp/keyword

Re:Introduction to Ada by Jtsummers on Thursday September 03, 2020 @12:56AM (#24360911)
Ada is actually case insensitive. The uppercase isn’t strictly necessary, more convention.
Re:Introduction to Ada by johnisgood on Thursday September 03, 2020 @12:49AM (#24360877)
Rust seems to flourish despite its heavy use of symbols, and I mean... heavy. Plus, code is supposed to be documentation. :)
Re:Introduction to Ada by mosteo on Thursday September 03, 2020 @06:13AM (#24362527)
This is actually one of my few gripes with Rust. I see lots of code that starts to resemble what I call "cryptosyntax" (also a feature of C++).

In this regard, Ada explicitly had maintainability as a design requirement, and I wonder how well Rust will fare with its concise, symbol-heavy code in that regard.

Re:Introduction to Ada by EdPF on Thursday September 03, 2020 @02:27PM (#24367098)
More specifically, "readability" was the sub-goal that fell under. People were thinking about use as pseudo-code in those days as well.
Re:Introduction to Ada by Lucretia9 on Thursday September 03, 2020 @03:36AM (#24361663)
Ada is case insensitive, so if you really wanted to you could write it in all lower or all upper case. Although, your source would be considered hard to read.
Re:Introduction to Ada by gmfawcett on Thursday September 03, 2020 @11:01AM (#24364689)
It's worth adding that GNAT, at least, has pretty-printing tools that will fix up casing to whatever standard you've specified in your project.
Re:Introduction to Ada by badrabbit on Thursday September 03, 2020 @12:41AM (#24360848)
people had similar complaints about python and all the space/tab/indentation. I like to think it was not aesthetically pleasing but also, it was way ahead of it's time. If Rust was released in '95 it may not have been received as well.