Ada is not just another programming language (1986)
1–10 of 68 posts
Re: Ada is not just another programming language (1986)
#2Re: Ada is not just another programming language (1986)
#3Re: Ada is not just another programming language (1986)
#4Re: Ada is not just another programming language (1986)
#5A technical and non-technical article on the development of the Ada programming language.
Re: Ada is not just another programming language (1986)
#6I like how in ada you can specify custom range integers
Like, if I have a variable `i` in range 0...10 and write the Ada equivalent of `i++`, does Ada know that from there on out `i` is in range 1...11? Something like TypeScript's type narrowing?
Re: Ada is not just another programming language (1986)
#7I like how in ada you can specify custom range integers
I've always wondered - does Ada track or enforce these ranges? Like, if I have a variable `i` in range 0...10 and write the Ada equivalent of `i++`, does Ada know that from there on out `i` is in range 1...11? Something like TypeScript's type narrowing?
Re: Ada is not just another programming language (1986)
#8I like how in ada you can specify custom range integers
I've always wondered - does Ada track or enforce these ranges? Like, if I have a variable `i` in range 0...10 and write the Ada equivalent of `i++`, does Ada know that from there on out `i` is in range 1...11? Something like TypeScript's type narrowing?
Re: Ada is not just another programming language (1986)
#9I like how in ada you can specify custom range integers
I've always wondered - does Ada track or enforce these ranges? Like, if I have a variable `i` in range 0...10 and write the Ada equivalent of `i++`, does Ada know that from there on out `i` is in range 1...11? Something like TypeScript's type narrowing?
Re: Ada is not just another programming language (1986)
#10I like how in ada you can specify custom range integers
var day : 1 .. 31;
letter : 'A' .. 'Z';
And you could specify ranges on array subscripts as well: var weight : array[-5 .. 5] of integer;