It sure is understandable to a native speaker of Perl;
It's Perl. You do have to understand Perl to understand it.
but the fact that this is considered "clear" gives the language a bad name.
| s f | s := Prompter prompt: 'enter line'. f := Bag new. s do: [ :c | c isLetter ifTrue: [f add: c asLowercase] ]. ^f
Why do people expect Perl to look like Java or C and brand it with a '"bad name" when it doesn't?
In reply to Re^3: How can I group lines in a file?
by BrowserUk
in thread How can I group lines in a file?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |