2 ms·
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 "no
by fghgfdfg 10y ago
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.
- vertex-four 10y agoIt's relatively uncommon in Rust in general to create types without going through their constructors.