Re:How Old School C Programmers Process Arguments
by enriquto on Sunday January 28, 2018 @04:04AM
(#16250508)
On the contrary! We force all our blocks to consist of a single statement so that we can always omit the damn parens.
[ Parent
| on HN ]
Re:How Old School C Programmers Process Arguments
by kqr on Sunday January 28, 2018 @05:40AM
(#16250725)
Are you saying you need statements in your loop blocks!? I just added this to a school assignment:
for (String next = in.readLine();
next != null && dictionary.add(next);
next = in.readLine());
...you can sense my contempt for this assignment. I would of course never do this in a real program.