Re:Cognitive loads in programming
by Twisol on Thursday September 01, 2022 @01:37AM
(#32672414)
> Also avoid traits and mixins (run from the dark magic)
I've seen the word "trait" used to mean different things in different language communities. Do you mean it like in Rust, in Ruby, in Scala, or in C++? (Since you mention mixins, I'm guessing like in Ruby?)
I've seen the word "trait" used to mean different things in different language communities. Do you mean it like in Rust, in Ruby, in Scala, or in C++? (Since you mention mixins, I'm guessing like in Ruby?)