HN user

wsidell

83 karma
Posts8
Comments10
View on HN

Why are you arguing against clear code that tells what you are doing? Imagine if you used a library with a function called sortAlphabetically that didn't sort items alphabetically, it wouldn't make sense.

Regarding the alignment, there will be situations where there will be multiple similar lines of code that would benefit from being blocked together with vertical alignment. Not only in the case of temporary local variables. Imagine a situation where a bunch of constants for an API are defined as such:

  #define kURLAPIBase      @"http://google.com"

  #define kURLAPIGetUser   @"/getUser"

  #define kURLAPIGetPosts  @"/getPosts"
There are numerous possible situations where things like this can occur. You seem to be arguing for the sake of argument here.