Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    | sort | uniq > super.dict
why not

    | sort -u > super.dict


Easier to remember?

You have to remember switches for every command, while commands like sort only need to be remembered once.


'cause I'm a Windows user who don't know the advanced flags of Unix command-line tools


Code is not the only sort of thing with an optimal chunk size. Languages and APIs (such as sets of library or system calls) run up against the same sorts of human cognitive constraints that produce Hatton's U-curve.

Accordingly, Unix programmers have learned to think very hard about two other properties when designing APIs, command sets, protocols, and other ways to make computers do tricks: compactness and orthogonality.

http://www.catb.org/esr/writings/taoup/html/ch04s02.html


Muscle memory.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: