615 reputation
413
bio website lousodrome.net
location Tokyo, Japan
age
visits member for 3 years, 8 months
seen Nov 7 at 1:10

3D enthusiast

@Zavie


Oct
8
comment Simple method for reliably detecting code in text?
@james.garriss: the Internet stole my cookie jar. :( Thank you for the notice though.
Nov
22
comment Static factory vs factory as a singleton
@bstempi: true, I'm a bit off topic here. The point was simply that if static are bad design (good point by Mike), singleton would only make it worse. That said, the simplicity of the chosen answer makes the argument moot. :)
Nov
21
comment Static factory vs factory as a singleton
I forgot the SO discussion the link was from: stackoverflow.com/questions/4074154/…
Nov
21
comment Static factory vs factory as a singleton
You want some strong arguments against singleton? There you go: jalf.dk/blog/2010/03/… I'm curious what your reviewer thinks a singleton would bring to the table that you don't already have with a static object. More often than not, a singleton makes your design worse.
Oct
30
comment How you return to a code when you don't remember what you were doing?
That's one massive argument supporting TDD. :)
Sep
18
comment Writing my problem solving approach on paper?
I can't see anything wrong with thinking through the problem on paper first.
Sep
15
comment Should We Code for Performance or Stability?
@gbjbaanb: the fact unmaintainable code exists doesn't mean it is preferable. As you say, those companies still use that code. So what if it has to be changed? What if they discover a case where it doesn't work? Code is not carved in stone, and this is why "if its maintainable then it can be fixed" is important.
Sep
14
comment Design: Calling back to the parent class
Does the child need to know all about the parent, or would a simple delegate be sufficient?
Sep
14
comment Should We Code for Performance or Stability?
@ReinHenrichs: that said, I agree if we had to stick with only one, it would be that code should work, period.
Sep
14
comment Should We Code for Performance or Stability?
@ReinHenrichs: because if it's maintainable, it can be fixed, which is much better than having code that works^W is believed to work but nobody can deal with.
Sep
14
comment Should We Code for Performance or Stability?
Then profile it. You can't work on performance without data, and if data shows performance is not an issue, then you win on management too.
Aug
14
comment longest list of words with matching start and end letters
The problem states that there are 100 words. I think this means you can apply a dynamic programming solution, which is mentioned in the article you are referring to.
Jul
23
comment What should be an optimal team (in terms of roles) to write a big enterprise nice-quality framework?
It all depends on the context, but it would still be interesting to hear stories.
Jul
5
comment Learning Haskell and C# Simultaneously
Well indeed it can be confusing too. It sure will take more time to master C#. But will it take more time than learning C# and Haskell? I cannot tell. anyway, maybe not at the same time, but at least I would not recommend him to wait until he has mastered C# before trying Haskell.
Jul
5
comment Learning Haskell and C# Simultaneously
By first mastering C# and only then learning Haskell, you might face the problem many programmers face when they try functional programming for the first time after doing only imperative programming, namely feeling completely lost because it's so different from imperative programming. By learning only one way of programming, people somehow shape their mind into thinking "this is what programming is", and this makes difficult to grasp a new paradigm thereafter. By learning both at the same time you may avoid this caveat (I cannot guaranty it though).
Jun
10
comment Who is responsible for defects found during development?
"Developers don't add bugs intentionally and it's QA's duty to find bugs." I dare to disagree: it's programmers' task too. Also just like Rein Henrichs, I am surprised by your question. The point of finding bug is not to blame anyone, but to enhance the product's quality. Hence the term QA.
Jun
9
comment What issues lead people to use Japanese-specific encodings rather than Unicode?
This sounds to me like a reason to do so we find afterwards. I am pretty sure efficiency has close to absolutely nothing to do with the status quo. To me it's just inertia and legacy. Actually I also think it has to do with the fact that most code produced by Japanese programmers is for other Japanese people, so they don't even feel the need to use something like Unicode.
Jun
7
comment I don't understand the Halting Problem
I wouldn't go that far, but yes, there are branches of code you could definitely write a checking code for. I heard there are softwares doing that, with a "is ok" / "is ko" / "cannot tell" coloring for instance.
Jun
7
comment I don't understand the Halting Problem
"It is possible to write a program that determines if a particular program halts" while I agree with the idea, stating it that way is a bit misleading, since there are particular programs for which it is impossible to do.
Jun
6
comment What responses disqualify a candidate from hiring during the interview?
I think you really want to read Joel Spolsky's "Smart and Get Things Done"