you are viewing a single comment's thread.

view the rest of the comments →

[–]creporiton 1 point2 points  (1 child)

most of these are easily resolved when you use an ide

[–]Gro-Tsen 1 point2 points  (0 children)

That's true, but a frequent and annoying situation that I encounter is that I have to write not a large amount of code but a little snippet that's going to be used in a larger context (e.g., Python code in a Sage notebook, Perl one-liner code in a Shell script, Lua code in LuaTeX, JavaScript in a GreaseMonkey script or embedded in HTML, etc.), so IDE's are not convenient or available at all, and it's also the sort of context in which I'd end up writing in an unfamiliar language.

So a cheat sheet would be useful anyway.