2 ms·
"range 4" is a syntax error in Python 2 as well. Meanwhile... #include<stdio.h> int main(void) { printf "Hello World\n"; return 0
by ubernostrum 11y ago
"range 4" is a syntax error in Python 2 as well.
Meanwhile...
#include<stdio.h>
int main(void) {
printf "Hello World\n";
return 0;
}
hello.c:4:9: error: expected ';' after expression
printf "Hello World\n";
^
;
hello.c:4:3: warning: expression result unused [-Wunused-value]
printf "Hello World\n";
^~~~~~
hello.c:4:10: warning: expression result unused [-Wunused-value]
printf "Hello World\n";
^~~~~~~~~~~~~~~
2 warnings and 1 error generated.
You know god damn well what I mean, C, so just do it instead of nitpicking me!
- lmm 11y agoHonestly after using Scala for 3 or 4 years I couldn't go back to a language that doesn't allow an "object method argument" style of doing method calls. Superficial perhaps, but it can make code so much more readable.