Halloween!
You can look at other write ups too.
02:41 PM, 22 Nov 2008 by Martin Hebrank Permalink | Comments (0)
Ohio Linux Fest - Interviews.
Dual Core - Nerd core rappers.
Moose and Peter Salus - Moose of OpenAFS and Peter Salus the technology historian.
Roland Hess - Roland Hess on Blender.
10:28 PM, 20 Nov 2008 by Martin Hebrank Permalink | Comments (0)
Tabs vs. Spaces - an answer to JWZ [www.jwz.org]
I'll
attempt to summarize his article here. He makes these three points on
the 3 different definitions involved in a "Tabs vs. Spaces" argument:
So, the real religious war here is point #1.Points #2 and #3 are technical issues about interoperability.
My opinion is that the best way to solve the technical issues is to mandate that the ASCII #9 TAB character never appear in disk files: program your editor to expand TABs to an appropriate number of spaces before writing the lines to disk. That simplifies matters greatly, by separating the technical issues of #2 and #3 from the religious issue of #1.
Ok. What do I mean by that? Well, lets say that I am one who believes that there should be 4 screen columns between changes in code scope (ie. indenting a new block). Now, say I follow JWZ's advice and untabify. Then you load up the code, except you believe there should be 2 screen columns for a block indent. Now, I have just completely forced my belief of 4 columns for indent on one who believes in 2.
So you see that instead of separating the religious issue, you're forcing it.
To help this, I make a modest proposal of my own. That is, we define TAB characters (in whatever encoding you happen to be using) at the beginning of a line (that is, following a newline character) to be always defined as "perform a single level of indent". If we all follow this definition then and we all listen to JWZ's advice on the fact that issues #2 and #3 become technical issue that are solved via editor configuration, then we have truly removed the religious issues involved in Tabs vs. Spaces. Everyone can set their editor to display the TAB character at the beginning of the line to show the proper number of columns as required by their deity and everyone can make their TAB plastic keyboard bump behave so as to write the tabs at the beginning of the line.
And finally, all coders exist in utopia.. .
09:20 PM, 18 Nov 2008 by Martin Hebrank Permalink | Comments (0)
| November 2008 | ||||||
| S | M | T | W | T | F | S |
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | ||||||
Request notifications