HackerTrans
TopNewTrendsCommentsPastAskShowJobs

exitcode0

no profile record

comments

exitcode0
·4 lata temu·discuss
Neat! Interestingly Ada has had this feature since its inception around 1983 (use in action with CPUID - https://gist.github.com/AdaDoom3/6466215).
exitcode0
·4 lata temu·discuss
What other suggestions do you have besides changes to the case statements?
exitcode0
·5 lat temu·discuss
I would create Ada++ - so that people could use the power of Ada in a syntax more familar to them.

http://adapplang.com/
exitcode0
·5 lat temu·discuss
The advantage of declare blocks would be the structure they provide - both in terms of understanding how much memory usage a subprogram can have in branching scenarios, but also as a way of showing the programmer possible areas where the problem might be better broken up into smaller pieces.

Note that within these declare blocks you may also declare new types and further subprograms - something which cannot be done within the body of a C function. Imagine the possibilities there : )
exitcode0
·5 lat temu·discuss
You will always be welcome in the Ada++ community : )

http://www.adapplang.com/