On Sat, Mar 13, 2021 at 1:46 PM Peter Ludemann <peter.ludem...@gmail.com> wrote: > It's not clear to me what surprising behaviors there would be. Javascript > seems to do OK with optional semicolons - presumably its algorithm is similar > to what BCPL used. (Or perhaps the surprising behaviors are trivial compared > to the other surprises that Javascript springs on people.) >
Yes, right up until you try to do something like: function foo() { return thing.goes.here() } which becomes extremely common with frameworks like React.js. There's an implicit semicolon and a big block of dead code. ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/JOOXIPHT2LUVLU2OLWP7HP3IBQJJ4R5Q/ Code of Conduct: http://python.org/psf/codeofconduct/