12,987 reputation
63173
bio website lshift.net
location London, United Kingdom
age 39
visits member for 3 years, 7 months
seen 8 hours ago

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


Jan
16
comment I hate one of our coding standards and it drives me insane, how to process it?
Not following the standard creates a worse problem, and annoys everyone. "Suck it up" indeed!
Dec
30
comment Do dynamic typed languages deserve all the criticism?
Well, prior art says "at least as early as 1980, Smalltalk had an IDE". That's an IDE that (in MY opinion at least) beats anything Borland/Ingres/Embarcadero put out between Delphi 2 and BDS 2006). Note that I didn't say that statically typed languages didn't have their own IDEs. I said that I'm tired of people saying "you can't use FOO with dynamically typed languages" when FOO was invented in a dynamically typed language.
Nov
23
comment Is Resharper still a significant improvement for Visual Studio 2012
"Friends don't let friends program without Resharper", as a colleague of mine once said.
Sep
13
comment Relicense BSD 2/3-clause code to GPL
opensource.org/licenses/mit-license.php explicitly states that anyone obtaining a copy of the code may sublicense the software.
Sep
7
comment Naming variables with fixed point units
+1 for declaring types with domain-specific meanings. Very handy!
Aug
25
comment How would a new language look if it was designed from scratch to be easy to TDD?
No language needs TDD. TDD is a useful practice, and one of Hickey's points is that just because you test does not mean that you may stop thinking.
Aug
21
comment Do resumable exceptions make any sense?
@nbt Resumable exceptions have nothing to do with bugs that drop users into debuggers.
Aug
18
comment Does Clojure have the continuation?
@gnat: Nice edits; thanks!
Jul
24
comment What are the factors that have made Java a success as a programming language in enterprise computing?
@quant_dev Java's syntax might be much simpler than C++... and so what? It's vastly more complex than many other syntaxes out there: Smalltalk, Scheme, ML, ... And before you think I'm picking on Java, note that I don't include Ruby in the list.
Jul
24
comment What are the factors that have made Java a success as a programming language in enterprise computing?
@quant_dev No, there are so many 'excellent' IDE tools because a lot of people and companies sunk enormous amounts of time into making those tools. It is DESPITE Java's syntax, not BECAUSE of it.
Jun
26
comment Do resumable exceptions make any sense?
Resumable exceptions make it trivial to implement delimited dynamic variables.
May
28
comment How to make sure the application source code has a proper documentation for new programmers?
"You have not sufficiently documented your code in this ticket. It fails peer review."
May
28
comment How to make sure the application source code has a proper documentation for new programmers?
@CarlSixsmith: An API is an application programming interface. I do not know what "code" is if you're not going to include method names in it. Thus: if a method's name does not match what it does - if it actively misleads you - it is lying.
May
28
comment How to make sure the application source code has a proper documentation for new programmers?
Any method called GetCustomer() that actually returns an Order is clearly lying (it does not do what it claims to do), unless you want to argue that words cannot lie, only people can. In which case I say "chase down the author and make him stop lying".
May
25
comment Objective-C message passing related queries
I hope my edits answered your question.
May
25
comment Objective-C message passing related queries
Overloading's sometimes known as "ad hoc polymorphism".
May
20
comment TDD: Am I doing it right?
If you work in small enough increments you can usually be reasonably sure your test actually works. In other words, having a test fail (for the right reason!) is in itself testing the test. But that level of "reasonably sure" won't be as high as the code under test.
May
19
comment TDD: Am I doing it right?
When you memoise that trivial getXXX and get it wrong, or introduce lazy loading in your getXXX and get it wrong, then you will know that sometimes you really do want to test your getters.
May
19
comment TDD: Am I doing it right?
My point was that dogmatism comes from blindly accepting something as gospel. Take the polarising statement, try it out, make it force you out of your comfort zone. You cannot evaluate the tradeoffs involved in TDD if you do not try the 3-point-all-or-nothing extreme approach, because you will have no data.
May
18
comment TDD: Am I doing it right?
@JarrodRoberson which is exactly the point: pithy things like this are supposed to have a strong flavour. Otherwise you end up with watered down feel-good nonsense that leaves you wondering what the author was trying to say.