LogFAQs > #880539088

LurkerFAQs, Active DB, Database 1 ( 03.09.2017-09.16.2017 ), DB2, DB3, DB4, DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicHow in the hell is coding/programming a hobby to some people?
DevsBro
06/06/17 4:40:01 PM
#32:


This seems kind of dangerous. Why did you do it this way? You're completely avoiding the reason people use Ada in the first place.

Right?

I chose Ada for exactly the reasons you mention. If anything is screwed up, it just won't compile instead of doing the wrong thing or hitting a runtime error. Actually, Ada isn't as good at avoiding runtime errors as its reputation suggests but in fairness it was first developed in 1983 so other languages have had a long time to catch up.

It wasn't until I was thousands and thousands of lines into the project that I decided to add plugin capability, so at that point I wasn't gonna scrap the whole thing and start over. But really it's no more dangerous than doing it in C anyway, since it's done exactly how it's done in C. It does mean that I've had to manually add the protections that come with dynamic operations but actually just because the language is so stubborn it's helped a lot with that kind of stuff anyway. Like I mentioned before, garden variety conversion errors. In spite of C being C, Ada continues to be Ada and makes the process a much-appreciated pain in the butt.
---
... Copied to Clipboard!
Topic List
Page List: 1