On Tue, May 8, 2018 at 11:11 AM, Dirk Laurie wrote:
When the right-hand side of an assignment is an anonymous function, I
nowadays put a semicolon after the final "end" to distinguish it from
other uses of 'end'. Do you like the idea or hate it?
Some programming languages (e.g PL/SQL) have distinct syntax for "end" depending on the statement:
if ... end if;
for k in 1..5 loop ... end loop;
case ... end case;
function FuncName ... end FuncName;
Do you want to achieve the same goal by appending a semicolon to "end"?