Klnsfw 🏳️🌈@lemmynsfw.comtoProgramming@programming.dev•How far should a programming language aware diff go?
21·
3 months agoAssuming it’s C/C++, the for and the while loops are not equivalent: the scope of the variable i is not the same.
🩷💜💙
Assuming it’s C/C++, the for and the while loops are not equivalent: the scope of the variable i is not the same.
It’s much worse to learn development while being lazy about commenting. Or adding them all just before sending your source code to the teacher.
For God sake, be consistent. It’s either int*, int**, void*
or int *, int **, void *
Tbh, at first sight I was like “wtf they’re talking about? Is this a regexp or some kind of string formatting? In which language?”
Ahaha I hate you. Have a great day !