2,467 reputation
1018
bio website blog.pdark.de
location Switzerland
age
visits member for 3 years, 10 months
seen Jul 14 at 7:20
I'm a software developer living in Switzerland. You can reach me at digulla at hepe dot com.

Jul
7
comment How to make sure the application source code has a proper documentation for new programmers?
@BoratSagdiyev: What you often need is an overview (i.e. something that answers the question "where can I find...?" or "why should I do it this way?" But detailed documentation gets outdated fast (unless you can spend the effort to keep it current). A half-hearted attempt at documentation (i.e. "someone ought...") is just a waste of time and effort.
Jun
18
comment How many developers actually have private offices?
@Fixee: That's the default but they have lots of secluded places where you can retire to focus.
Jul
9
comment Non-OOP Design Patterns?
@Despertar: Please read the article from IBM's Developer Works that I link to in my post. It explains what I'm talking about in much more detail than I can in a comment.
Jul
8
comment Non-OOP Design Patterns?
The reason why patterns are considered a "workaround" is because decorating an object should be a feature of the language. Instead, we have to write many, many lines of code to implement this. As an example, the iterator pattern has become part of many modern language. For older OO languages, you need to jump through a couple of hoops to simulate them.
Nov
28
comment What would truly happen if java.lang.String weren't final?
@TomHawtin-tackline: References?
Nov
19
comment Why are there so many programming languages? Why are new languages still being made?
It might be if we ever get an editor for programs that's not limited to plain text.
Nov
19
comment Why are there so many programming languages? Why are new languages still being made?
@AndreasScheinert: Okay, I mean "AI" as in "real AI" as we have today which are too dumb/primitive to really help. Also, you will need an efficient way to negotiate with your AI. And that would be a new PL.
Nov
15
comment Why are there so many programming languages? Why are new languages still being made?
@AndreasScheinert: AI is just one small part of the solution. We need languages which allow to express simple things like editing persistent data with only a few lines of code.
Jul
10
comment How many developers actually have private offices?
@JarrodRoberson: Unfortunately, humans are unable to assess their own mental states reliably. When you measure stress levels and efficiency, you find that background noise reduces efficiency by 30%. When I tackle a complicated problem, I really don't want to collaborate, I want to concentrate and I can't do that when the a****** on the next table discuss some b******.
Jul
9
comment How many developers actually have private offices?
@JarrodRoberson: Re Montessori: This great for developing social skill but it breaks down for tests since the constant background noise interferes with concentration - much the same as cubicle farms.
Jul
9
comment How many developers actually have private offices?
@Jarrod: Anything is toxic, even water (en.wikipedia.org/wiki/Water_intoxication). But not drinking any will kill you much faster. Creating panic and/or turning off your brain doesn't make life safer or longer.
Jul
6
comment How many developers actually have private offices?
@dreza: No one ever died from drinking soft drinks, so that can't be true. They don't dehydrate you, they just make sure your thirst doesn't go away (so you will drink too much). But it's always better to drink them than not drinking anything at all. Water or fruit juices (especially when mixed with water) would be better but most people can't be bothered so soft drinks are the next best thing.
May
28
comment How to test a program in an efficient way?
If someone else modifies a piece of code, they need to write the necessary tests, too. Asking me to write tests for an unknown, future developer doesn't make much sense. Also there is no way to avoid every bug/mistake. Relax. As long as most of the code is healthy, you will always have the time to fix unexpected problems and learn from them.
Mar
20
comment Good resources for language design
I strictly look at the problem from the consumer point of view. So I want to create grammars which are unlike C++/Perl where the reader has make guesses what some code does.
Dec
9
comment Users and roles: Where to put queryUsersWithRole()?
I tend to agree but that eventually turns UserManager into a god class of sorts because almost every object in my model has a relation to User.
Nov
9
comment What are the dangers of setting an unlimited database transaction life timeout?
You can have deadlocks when you use connection pooling in a single application.
Jun
20
comment Why are there so many programming languages? Why are new languages still being made?
Agreed. It's so hard to express "I'm hungry" using pure math.
Feb
21
comment How do I keep controversy in check?
@S.Lott: Agreed. I'll update my question.
Nov
22
comment Compiler optimization examples
@Bart: I was too lazy to complete the example :-)
Nov
15
comment What are the most impressive tricks an IDE could pull off with the code?
Yes but I also want support for CSV data in my source code or when I have to setup 30 similar objects.