I'd agree so far, as a programming task can be completed in a better or worse ways, and that yes, an example of how to do it "right" should be supplied.
As I see it, saying "You shouldn't" in programming doesn't mean it's wrong. But rather it's you saying "You should avoid" or "There's a better way to do this" ifølge know what I mean.
As I see it, saying "You shouldn't" in programming doesn't mean it's wrong.
That's only true if you are a computer. If your sorting method takes tens of thousands of hours to sort a list of a hundred entries then it's wrong for every practical purpose and that's almost certainly the context that anyone asking has in mind.
1
u/xIncrement May 17 '21
I'd agree so far, as a programming task can be completed in a better or worse ways, and that yes, an example of how to do it "right" should be supplied.
As I see it, saying "You shouldn't" in programming doesn't mean it's wrong. But rather it's you saying "You should avoid" or "There's a better way to do this" ifølge know what I mean.