Art of writing unmaintainable code.
11–20 of 39 posts
Re: Art of writing unmaintainable code.
#12As an aside, do any other Haskell hackers find that single letter variable names are a lot more usable than in other languages? x:xs, y' and their ilk seem more readable than in other languages and often more readable than long variable names in Haskell.
Re: Art of writing unmaintainable code.
#13The Drupal developers must have used this as a coding bible when they came up with the idea of shoving absolutely everything in multi-dimensional arrays.
Re: Art of writing unmaintainable code.
#14Re: Art of writing unmaintainable code.
#15Re: Art of writing unmaintainable code.
#16The domain suggests something else, though: "THC dot org" :-)
(What are you people, on dope?!?)
Re: Art of writing unmaintainable code.
#17I do this by accident all the time.
And this is the funniest thing I've read on the internet all year:
"Make sure that every method does a little bit more (or less) than its name suggests. As a simple example, a method named isValid(x) should as a side effect convert x to binary and store the result in a database."
Re: Art of writing unmaintainable code.
#18Re: Art of writing unmaintainable code.
#19I'm more afraid of the "Use threads With Abandon" tip.
Re: Art of writing unmaintainable code.
#20While true, the article feeds an odious appetite for righteous superiority all too common among technical people. http://www.youtube.com/watch?v=5TzHbcXYwI4
Agreed - and while most of this is obvious, and some insightful, some of it is just baseless opinion: "Never underestimate how much havoc you can create by indenting with tabs instead of spaces..." Conversely, never underestimate how much havoc you can create by using spaces for indentation. With tabs, the level of indentation is clear and atomic. With spaces, it is arbitrary, and, wait for it... hard to maintain
Carriage (or cursor, if you prefer), go to the next tab stop. [2]
For typewriters it means to go "literally" to where the next stop is. For text editors (at least for emacs)[1], it means to insert as many spaces as needed so the next column on the current line matches with the last non-space column on the previous line.
So, in the same way I use the table tag for tabular data in markup, I use the tab key for tabular text.
[1] http://www.jwz.org/doc/tabs-vs-spaces.html [2] http://en.wikipedia.org/wiki/Tab_key#Origin