64 points · by scarmoo · 2y ago · 19 comments
Go kind of works that way, there are the "official" printing functions in fmt, and there's also a pretty much unused builtin println which works well enough for this use case.
I find that it's also a good idea to do this with comments, I personally prefer using TODO and/or FIXME for things that should be fixed eventually but don't deserve a ticket, and using XXX for things I want to remember about fixing before I commit. In the heat of coding, you can write something like `// XXX: handle errors` without breaking out of the flow, like you would with a separate todo list.
Back in the day, there were all kinds of hidden Easter eggs in MS products, some of them much more elaborate than this: https://en.wikipedia.org/wiki/List_of_Easter_eggs_in_Microso...