13,077 reputation
63173
bio website lshift.net
location London, United Kingdom
age 39
visits member for 3 years, 10 months
seen yesterday

Delphi/Objective-C/C#/Ruby/Scala programmer by day, Lisper/Smalltalker by night.


Oct
2
comment What's your favourite quote about programming?
Except when it blows up an Ariane 5 (Flight 501), or doses people with lethally high levels of radiation...
Oct
2
answered Boss Asking To Work Overtime But Under the Radar
Oct
2
comment What do you do to convince your boss to update your development environment?
If you're working with Indy, D7 uses Indy 9 while later versions use Indy 10. (I know D2006 uses Indy 10, but possibly the switch happened earlier.) Porting Indy 9 -> 10 is not entirely a trivial operation.
Oct
2
comment What do you do to convince your boss to update your development environment?
You don't get a discount if you try upgrade from very old versions of Delphi, as a colleague of mine just found out. But hey, at least Delphi 7's less obnoxious than D5 or D2006.
Oct
2
answered Fixing a bug while working on a different part of the code base
Oct
1
comment What do you name functions/variables/etc when you can't think of a good name?
I must protest! Clearly the inner iterator should be called j and the one inside that k. Long-standing mathematical tradition is looking over your shoulder!
Sep
30
comment Advantages of object-oriented programming
"Object-oriented programming is an exceptionally bad idea which could only have originated in California." -- Edsger Dijkstra <-- do you think he said that after Alan Kay's OOPSLA 1997 speech? (youtube.com/watch?v=s7ROTJKkhuI)
Sep
29
comment What hat should a programmer not wear?
Regarding point 2, there's at least one company who has as a founding principle that the person writing the code should be talking directly to the customer: disintermediation has its advantages.
Sep
29
comment Do libraries and frameworks swing more on the GPL or MIT side?
I'm not trying to scare anyone away from anything. Yes, I prefer MIT, because I am happy for you to make money with things I give away for free. However, if you do choose GPL, you should know the knock-on effects of the licence. It doesn't play nice with other open source licences, and it has surprising properties for image-based systems, as described above.
Sep
29
comment Do libraries and frameworks swing more on the GPL or MIT side?
Thanks for pointing out the flip side of the MIT licence. Yes, if you want to attach conditions to what you give away, then yes, GPL might well be what you want.
Sep
28
comment How to reduce the number of bugs when coding?
And if you're so sure that condition X will never happen... use an assert to make sure that when condition X happens, you'll know about it (through an exception, or logging, or whatever).
Sep
28
awarded  Nice Answer
Sep
28
answered Do libraries and frameworks swing more on the GPL or MIT side?
Sep
28
comment Are long functions acceptable if they have internal structure?
Two possible reasons: cluttering the namespace, and what I'll call "lexical proximity". These might be good or bad reasons, depending on your language.
Sep
28
comment Are long functions acceptable if they have internal structure?
Unless you're not writing in an OOPL, in which case maybe not :)
Sep
28
answered What would be a few ideas/concepts from programming that I can have on paper and hang on a wall as art?
Sep
27
comment Does OOP fulfill the promise of code reuse? What alternatives are there to achieve code reuse?
But it's a duplicate: programmers.stackexchange.com/questions/1059
Sep
27
comment Why are there so many programming languages? Why are new languages still being made?
What's interesting about Erlang is that it's a "clean room reinvention" of the Actor model. When Armstrong and friends developed Erlang they didn't know about Hewitt et al's work on the Actor model!
Sep
27
comment What natural language has the advantage when it comes to programming?
Apparently Smalltalk's syntax is even closer to Turkish than it is to English: smalltalk.gnu.org/blog/zuluuuuuu/smalltalk-and-turkish
Sep
27
answered What programming language and framework has best support for agile web development?