I graduated in 1990 in Electrical Engineering and since then I have been in university, doing research in the field of DSP. To me programming is more a tool than a job.
I totally agree with this. Correctness, not efficiency, should be the first goal in software production. Speaking generally, a code that is simpler it is also easier to read and to mantain (and bugs have less cracks to enter from).
On a side note, this morning I was just thinking about how the approach to "efficiency" in software has something of schizophrenic... If you talk about computational complexity (i.e., a O(N log N) complexity vs O(N^2) for sorting algorithms) you can get comments like
"Why do you care about this? Where do you live, stone age? Nowadays we have smartphones, cloud, edge compunting, AI..."
by the same persons that write
x<<3
instead of
x*8
because "it is more efficient" (although compilers have been transforming the latter into the former since the '80s)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I totally agree with this. Correctness, not efficiency, should be the first goal in software production. Speaking generally, a code that is simpler it is also easier to read and to mantain (and bugs have less cracks to enter from).
On a side note, this morning I was just thinking about how the approach to "efficiency" in software has something of schizophrenic... If you talk about computational complexity (i.e., a O(N log N) complexity vs O(N^2) for sorting algorithms) you can get comments like
by the same persons that write
instead of
because "it is more efficient" (although compilers have been transforming the latter into the former since the '80s)