4 ms·
Or it might be that the person has used multiple programming languages, across which the order/meaning of copy arguments varies a lot, and thus prefer to not re
by dzaima 3y ago
Or it might be that the person has used multiple programming languages, across which the order/meaning of copy arguments varies a lot, and thus prefer to not remember the decision of each language (if not for writing (at which point the IDE could help), then for reading). Whereas a loop is always easy to read and write equally in all languages, and it's really not unreasonable to expect it to perform well enough (if not as good as System.arraycopy, then at least good enough to be insignificant compared to the actual important logic in the code).
- pjmlp 3y agoGiven that I have programed dozen of languages since 1986, and have to jump between C#, Java, C++, Typescript, Transact SQL and PL/SQL for work, plus whatever is needed to keep the customer happy, isn't an argument I would sympathise with in code reviews.
- enterprise_cog 3y agoYet, somehow I doubt you write perfect code in all those languages. Do you cringe at yourself and conclude you just don’t care also?
- thfuran 3y agoThere are more options than "write perfect code" and "not even attempt to learn how to write idiomatic code".
- enterprise_cog 3y agoYeah, of course. But maybe you should just be happy to share knowledge with those lacking it, rather than cringing and making some kind of personal judgement of them.
- pjmlp 3y agoNo I don't, and when someone cringes looking at my code, I shut up, apply the fix and get to improve my skills on the language, instead of excusing myself.
- enterprise_cog 3y agoSo you agree you should be judged as someone who doesn’t care in those cases also, right? You didn’t mention anything about people excusing themselves initially, just that you judged them. I just hope you hold yourself to the same standard.
- pjmlp 3y agoSo is life, made up of judgments, not always fair.