— The const one will be called if your class is const
— Dont use getters and setter tho
— Why not?
— Rust has a rigorous checking system to help coders advoiding errors
My code always called the copying method, but when I removed the copying method and left only the reference method, it works now and calls it instead
— But anyway life is too short ,no time to learn.
— What you gotta do is use your life to learn stuff
— Rigorous checking?
— If you want that, use cobol
— Nvm, my problem was simple; I cannot overload functions by return type :)
— They have overhead and they are justbuseless
— No shit
— This was actually new to me
— Does this compile?
— Yes it did