Re:Django on Heroku running with Celery
by d0m on Thursday June 02, 2011 @02:58PM
(#2613383)
Personally, I find:
Easier to read then:
For many reasons.. but mainly:
However, I'm interested in knowing in what you find it more readable :) ?
[ Parent
| on HN ]
Re:Django on Heroku running with Celery
by mixmastamyk on Friday June 03, 2011 @03:21AM
(#2615472)
Looking a bit closer:
1) "Take x, add 2 and add that to x" the second add should be "set x to that". "Which is one more step." It is the same amount of steps, just a difference in how it is represented to the end user.
2) Hmm, never thought about that type of connection before. In my experience I had many years of "x = x + 1" in both Algebra class and when first exposed to Basic programing. I didn't encounter C (first exposure to extended operators) for at least another decade.
Whenever I see such an assignment statement I visualize this in my head...
x = x + 1
x = 5 + 1
x = --> 6 <-- (woosh)
x <---6 (woosh)
(6) (thud)
Re:Django on Heroku running with Celery
by mixmastamyk on Thursday June 02, 2011 @03:18PM
(#2613477)
It's merely more familiar to the average person. I'm not against the first form and use it a lot. See my comment to llamda below for more details.