Hacker News new | ask | show | jobs
by xmprt 45 days ago
I like how in the example gif, barista.name is set in the "Your name is Alex, right" block, implying that the barista didn't have a name/didn't know their name until after being prompted.
1 comments

I believe before the "name" attribute is set, the name in the dialog is "barista", but once it has a "name", it displays as that instead. Technically, no, the barista didn't have a name until that selection was chosen