I like how in ada you can specify custom range integers
Pascal had subrange types before Ada, not only for integers but characters too. var day : 1 .. 31; letter : 'A' .. 'Z'; And you could specify ranges on array subscripts as well: var weight : array[-5 .. 5] of integer;
Ada is not just another programming language (1986)
11–20 of 68 posts
Re: Ada is not just another programming language (1986)
#12I like how in ada you can specify custom range integers
Pascal had subrange types before Ada, not only for integers but characters too. var day : 1 .. 31; letter : 'A' .. 'Z'; And you could specify ranges on array subscripts as well: var weight : array[-5 .. 5] of integer;
proc set_mode(mode: range[0..3]) ## SPI mode (0-3)Re: Ada is not just another programming language (1986)
#13A technical and non-technical article on the development of the Ada programming language.
Well it's essentially a PR piece, says lots of reasons why Ada is better than everything without actually showing any concrete examples
Re: Ada is not just another programming language (1986)
#14Re: Ada is not just another programming language (1986)
#15I like how in ada you can specify custom range integers
For number ranges you would say
subset HandCountable of Int where 1
[0] https://ohmycloudy.github.io/24.htmlRe: Ada is not just another programming language (1986)
#16Ada is just another programming language.
After 1970, there were less and less innovations in programming languages, in the sense of features that have not existed in any earlier languages.
Many new languages have been introduced since then and some of them might be better than most previous languages, but usually the new languages offer only new combinations of features that have previously existed in different languages and not anything really new.
Ada is important, because in 1979 it included a few features never provided before. Some of those features have been introduced only recently in more popular languages, while others are still missing from most languages.
For anyone who wants to create or improve some programming language, Ada is on a long list of mandatory programming languages that must be understood well, before attempting to do anything that is intended to be better. Sadly, there are many examples of ugly misfeatures in recent programming languages, which demonstrate that their authors were not aware about which was the state of the art 40 years or 50 years ago, and they solved again, but badly, problems that were solved well already in the distant past.
Unfortunately Ada also had defects, some of which were mandated by the Department of Defense requirements.
The defect that is most universally accepted is that it is too verbose.
Re: Ada is not just another programming language (1986)
#17I like how in ada you can specify custom range integers
Pascal had subrange types before Ada, not only for integers but characters too. var day : 1 .. 31; letter : 'A' .. 'Z'; And you could specify ranges on array subscripts as well: var weight : array[-5 .. 5] of integer;
Re: Ada is not just another programming language (1986)
#18I like how in ada you can specify custom range integers
Pascal had subrange types before Ada, not only for integers but characters too. var day : 1 .. 31; letter : 'A' .. 'Z'; And you could specify ranges on array subscripts as well: var weight : array[-5 .. 5] of integer;
Re: Ada is not just another programming language (1986)
#19Ada is just another programming language.