Lurker News

Comments (150) 67 threads

Earlier comments
listless#
Cool game! I got it but it took a while.

Suggestions, limit to 5 chars and use a Wordle-like interface so your phone can’t suggest words.
I could see this being a legit NYT game.

cornstalks#
In the spirit of helping a fellow programmer debug some things:

If you guess a word that isn’t in the dictionary, the text box looks like it’s cleared but my phone’s (iPhone) keyboard’s autocomplete either didn’t pick that up or there’s still some hidden content in the box.
It would be nice if the list was always sorted in totality.

doytch1 reply#
Reading the code is a joy. I love seeing different approaches to what we all take as givens, such as design.css rather than style.css, or the usage of an `else if (1 == 1)` compared to `else` or even `else if (true)`.

(So I guess, thanks for not teaching her about bundlers and minifiers yet :))

seeknotfind1 reply#
One reason programmers do this is so that they can make a one character change, e.g. "else if (1 === 1)" -> "else if (1 === 2)" in order to change the logic there. For C programers you see a lot of '#if 0' '#if 1' for this same purpose. Though, given that it's used everywhere, I'm not sure if it's really for that purpose.
roblh#
I’m a big fan of tacking on “&& false” or “|| true” as well.
FergusArgyll1 reply#
SPOILER

view-source gives away the answer for the next 20 days....

geor9e#
It's okay, according to the source comments the only player is her friend Caroline

Load more comments