News for hackers. Stuff that matters.
Re:Show HN: I rewrote the 1990's LambdaMOO server from scratch by smirya0 on Saturday September 23, 2023 @11:17PM (#37629862)
read() would be a killer feature for adoption. There's a ton of MOOs that make use of this in-verb, for menus or other things.

For example:

color = player:choose("Pick a color", {"Red", "Orange", ...});

Re:Show HN: I rewrote the 1990's LambdaMOO server from scratch by cmrdporcupine on Sunday September 24, 2023 @07:33AM (#37632162)
Yeah it's tricky, but TBH I've never been comfortable with this way of interacting with the user on a MOO. It breaks the standard method of interaction there, which is command-verb based. To have the player pick from a menu... don't create a prompt... create a menu "thing" in the world and have a "choose" verb on it and ask them to interact with it.

"read" def presents a problem for the transactional model. So like I said I have basically 2 choices: not implement it, or loosen the transactional constraints for verbs that require it. the latter would be something like: as a user I accept that this could blow up at commit and require me to enter the prompt again ("I'm sorry, something went wrong and I'll need you to enter that again.")