News for hackers. Stuff that matters.
Re:I always forget the argument order of the `ln -s` command by forza on Wednesday December 08, 2010 @05:19PM (#1984881)
In my experience the more variable argument often comes last, presumably for easy reuse. For example...

  $chown user1 file1
  $chown user1 file2

  $ln -s file1 file2
  $ln -s file1 file3
...seems more likely than...

  $chown user1 file1
  $chown user2 file1

  $ln -s file1 file2
  $ln -s file3 file2
Re:I always forget the argument order of the `ln -s` command by eru on Wednesday December 08, 2010 @07:01PM (#1985308)
That's the reason behind a most of the argument orders in the Haskell standard library: To ease Currying.
Re:I always forget the argument order of the `ln -s` command by viraptor on Wednesday December 08, 2010 @07:32PM (#1985392)
Why did you do that? Now I really want to implement a const and flip for text arguments :)
Re:I always forget the argument order of the `ln -s` command by eru on Thursday December 09, 2010 @09:20AM (#1987493)
That could be a nice command line tool. Please include a Data.Function.on, and find a way to make it useful.

flip would actually be quite useful for me on grep. I often search the some corpus of text, but change the pattern.