2 ms·
Type error: "everyday" is an adjective, adverb expected in this context ;) The examples you cite would be detected by a type checker. The attribute errors woul
by to3m 14y ago
Type error: "everyday" is an adjective, adverb expected in this context ;)
The examples you cite would be detected by a type checker. The attribute errors wouldn't even need a complicated one. (I've never had an attribute error in C.) It's fine to complain that these things are due to bad architecture, in whatever way that might be, but if there were a type checker involved then the code wouldn't even build if there were a type problem. It's fine to rail against poor design, or systems that are hard to use for no good reason, but in the mean time the code usually has to actually work.
(And if there were no type problems, it would run fine without one, bad architecture or no.)