Hacker News new | ask | show | jobs
by dubcanada 4670 days ago
wow... this was actually harder then the language game I saw earlier. I don't think I've even seen 90% of these. And most of them look so similar it's hard to pick them apart with such a small snippet.

D for example... how are you suppose to get that one right?

1 comments

well, at least for D: at the top there is 'import std.stdio;', which signifies importing one of the main modules in the language. Along with the C like syntax and writeln function, I was able to get it pretty quick. But, I've been doing all my personal projects in D for the past few weeks, so there's no surprise I got it.
I guess I don't do enough stuff in D. But really shouldn't the snippets have more variation then 'import std.stdio;'?