Comment by f1shy

20 hours ago

Is RAII Object orientation? I thought it was an idiom of C++ by Stroustrup.

It doesn't necessarily have to be OO no. Rust uses RAII and it uses traits instead of traditional OO style inheritance etc. You do need something like destructors/drop trait for it to work as far as I know though.