3 ms·
What difference does it make how one calls it if I have to program the same way I'd have to program if I were using object oriented paradigm? Or even worse, if
by Annatar 8y ago
What difference does it make how one calls it if I have to program the same way I'd have to program if I were using object oriented paradigm? Or even worse, if I'm forced to debug and understand code written in object-oriented style, how does that help debug and understand the program?
It's a travesty this syntax or anything resembling object-oriented programming is allowed.
By the by, the best programming languages aren't ones where there is more than one way to do it, but ones where there is one and exactly one way to do any given thing and the reason is simple: the code is easier to understand and therefore enhance or debug for anyone proficient in that language; in addition, it reduces the total number of mistakes in software written in such a language. AWK is one example of such a language.
- steveklabnik 8y agoBecause OO is more than method call syntax, so you wouldn’t be doing those things the same way that you would in an OO language, since Rust is not OO.