Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> [Whether or not the critter has moved, we need to adjust the sword-glow, because the player may have moved.]

That must be a comment, right?

In that case: "The critter [one of]slouches[or]slithers[or]shambles[or]lurches[at random] away.";

[one of] [or] [at random] are also comments?



In code, square brackets indicate comments. But inside a string literal they indicate variable interpolation or other commands.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: