3 ms·
Eleven ways to comment to the end of the line; five of them used only by one language each.
by dsr_ 14y ago
Eleven ways to comment to the end of the line; five of them used only by one language each.
- jonathansizz 14y agoAnd the most common way is one of the worst (most inconvenient), although J seems to win the prize.
- kamkha 14y ago"Inconvenient" because typing a # requires a modifier key on most keyboard?
- gebe 14y agoWell, depends on your layout. That might be the case on a US keyboard but for many others (for example German, Spanish, the Nordic countries' layout and many other European and non-European layouts) it would be preferred over for example "//". For "//" you need to use a modifier (just as with '#') but you need to stretch more (or use both hands) and as well tap it two times. That's one of the reasons why I prefer to code using an English layout in my IDE/editor :)
- emillon 14y agoWadler's law strikes again : http://www.haskell.org/haskellwiki/Wadlers_Law http://www.haskell.org/haskellwiki/Wadlers_Law