3 ms·
> if...fi, anyone? And here I thought everyone wanted ALGOL-like syntax...
by dllthomas 11y ago
> if...fi, anyone?
And here I thought everyone wanted ALGOL-like syntax...
- dawnbreez 11y agoAs someone who dabbled in C-like languages, it threw me for a little bit.
- dllthomas 11y agoMy comment was a joke based on contrasting two points: 1) "C-like" languages are often described as having "ALGOL-like" syntax. And indeed, C was based on languages significantly influenced by ALGOL-60 (though ALGOL-60 used BEGIN/END for blocks, not curly braces). 2) "IF/FI", "CASE/ESAC" and similar were in ALGOL-68, and Stephen Bourne drew them from there when he wrote the Bourne shell (with which bash was eventually intended to be compatible).