4 ms·
I'm basically replying to this comment so I can find it again. I think your point about unsafe functions being fine as long as access to them is only possible
by sea6ear 14y ago
I'm basically replying to this comment so I can find it again.
I think your point about unsafe functions being fine as long as access to them is only possible through controlled access points that verify sane input is one of the most interesting points I've seen in a while.
- angersock 14y agoThis is exactly my experience working with engine code--there are some very clean, fast, precise, and horrifically unsafe functions in our rendering system and other places that are acceptable because we can make guarantees about what data gets there from elsewhere. The mental image is an access panel, behind which lay hundreds of whirling razor-sharp gears--presumably if you open it you know what you're doing and are careful. This is what people pushing for abstraction are about, and why they're correct in some cases.