1,070 reputation
314
bio website thisisnotaprogrammersblog.blo…
location Storvreld, Sweden
age 40
visits member for 2 years, 8 months
seen 10 hours ago
stats profile views 70
Programming language omnivore: Java, Ruby, Python, C, C++, Perl, Erlang, Shell-script, CMake. Has worked a lot with different build systems, GUI construction tools, release engineering, portable programming. I try to live by the Ten Commandments of Ego-less Programming. I currently work at IAR Systems.

May
10
awarded  Nice Answer
May
8
comment Is it a good idea to format the code in eclipse using auto format
@Mufasa Yes, you're right.
May
7
awarded  Popular Question
May
7
answered Is it a good idea to format the code in eclipse using auto format
May
7
answered Best practice to sort then reverse, or write “backwards” comparator?
Apr
17
comment Possible solutions for sharing working copy of project between multiple computers?
Project lead who doesn't know version control? Get out of there, quick!
Apr
15
comment Most underestimated programming tool
@Job the pencil-story is a myth, you know that, right?
Mar
6
comment Is there a way to support different coding styles in a development team
Hm, maybe I should bump up Go on my list of languages-to-learn.
Mar
6
comment Is there a way to support different coding styles in a development team
I'm not talking about indentation, but also things like line-wrapping and where to put spaces in conditionals/expressions. The reference implementation should include a tool to "reformat" a program to conform to the standard formatting rules.
Mar
6
comment Is there a way to support different coding styles in a development team
I wished formatting was part of the standard of a programming language, such that programs are not just "valid" or "not valid", but have a third state as well, "valid and well-formatted".
Mar
6
answered Is there a way to support different coding styles in a development team
Mar
4
comment Is the C programming language still used?
Quite possible, but how can we tell?
Mar
4
comment Is the C programming language still used?
You seem to be treating this as a boxing match, where we have to determine who of C and C++ is going to win. Fact is that both C and C++ is out there, and not acknowledging the problems in the tools you work with is not going to make you a better programmer. Yes, C programmers bitch about C++ and vice versa, but trying to select a winner is meaningless.
Mar
4
comment Is the C programming language still used?
But C programmers typically do not boast about the superior abstractions of C, rather the opposite. I think Damien Katz makes a good point of C being "honest about its tradeoffs". damienkatz.net/2013/01/the_unreasonable_effectiveness_of_c.html
Mar
4
comment Is the C programming language still used?
There are so many, many, places in C++ where the abstractions are leaky (i.e. where you need to know the underlying details in order not to step on any mines), but many C++-programmers are so home-blind that they just see it as the way things work. I really suggest that you read Joel Spolskys artikle on leaky abstractions. It will make you a better C++-programmer.
Mar
4
comment Is the C programming language still used?
@BartekBanachewicz yes, I've had to step through STL/Boost code as well as C standard library functions all too often to figure out weird crashes. I cannot claim to understand all of the C standard library, but the C standard library is definitely easier to grasp than the C++ one.
Mar
4
answered How can one best avoid writing bloated GUI code?
Mar
4
comment Is the C programming language still used?
The problem with high-level abstractions in C++ is that many of the abstractions are leaky (joelonsoftware.com/articles/LeakyAbstractions.html), which means that you often need to understand the underlying implementation anyway. My favorite example of this is the "static initialization order fiasco": parashift.com/c++-faq/static-init-order.html. C++ certainly has some good features, but they also offer you many new chances to shoot yourself in the foot.
Mar
3
comment Is the C programming language still used?
@ThomasEding Dead language? You certainly have a very limited knowledge of programming languages if you consider C a dead language.
Mar
3
comment Is the C programming language still used?
Well, C++ is doing lots of stuff behind your back. Whether or not it is good or bad, that's another question. But fact is that it is much more difficult to understand what kind of code a typical C++ program is going to be translated to than a typical C program. There is a complexity there which burdens a C++ programmer more than it does a C programmer.