Skip to content

Comment on I come here not to bury Delphi, but to praise it (2019)parent

Comments

Modula-2, Ada and Oberon removed most of the BEGINs except the one between variable declaration and the start of the code.

But they kept the ENDs?

The BEGINs were replace by THEN (for IFs) and DO (for WHILEs and FORs). They still need something to denote the ENDs. Instead of saying "THEN BEGIN" or "DO BEGIN", you can drop the BEGIN and just assume it's there.

Okay, a bit like Ruby, THEN.

IF I had to BEGIN a comment, I would say that FOR a WHILE I thought it was the END.

# ;)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.