12 comments
I legitimately lol'd at this. Any time I return from a couple weeks off I'm like "what year is it" + "can you repeat all the stuff about the things".
38 0 ReplyMe temporarily forgetting the structure of an if statement in Shell.
22 0 ReplyI write shell scripts only very occasionally and have to look this up every time.
21 0 ReplyLike this I think
if [1]; then echo "hi" fi
6 0 ReplyAnd then there’s stupid Cpp with
if (true) { do(); }
Or
if THIS do(); endif
3 0 ReplyWhat's weird about the C++ one? At least that one is the same in a bunch of languages
3 0 Reply
void HelloWorld(string) { if (string == "print") { Serial.print("Hello World"}; } }
Solved it.
12 0 Reply@LazaroFilm well done :D
1 0 Reply
I'm more
Hello print("World")
11 0 Replyim more of a c person
index[array]
4 0 Replyvoid HelloWorld(void (* func)(const char*)) { func("Hello world!"); }
1 0 Reply(format t “Hello ~a” 'World). If I’m on vacation and come back to the land of C based languages I will have reverted to the only syntax I enjoy working in.
1 0 Reply
12 comments
Scroll to top