News for hackers. Stuff that matters.
Re:A Random Walk Through Ada (2014) by fghgfdfg on Thursday November 03, 2016 @01:37AM (#12861834)
Sure, you can do things like that too in Ada. To some degree that might make sense sometimes, but having the option of an equally safe type that's used in a "normal" fashion, rather than something that has to go through the proper library interface has some advantages as well.
Re:A Random Walk Through Ada (2014) by vertex-four on Thursday November 03, 2016 @01:50PM (#12866234)
It's relatively uncommon in Rust in general to create types without going through their constructors.