224 reputation
22
bio website
location Sweden
age 29
visits member for 3 years, 4 months
seen May 10 at 12:41

Software Engineer working primarily with embedded systems in wireless sensor networks. In my free time I tend to tinker with game development technologies and 3D graphics programming in C++, GLSL, etc.


Sep
23
comment What is a“ feature envy” code and why is it considered a code smell?
@DocBrown I'm curious, does the concept of feature envy as a code smell contradict the arguments given here? drdobbs.com/cpp/how-non-member-functions-improve-encapsu/… Some excerpts: "Adding functions beyond the minimum necessary to let clients get their jobs done decreases the class's comprehensibility and maintainability." "The addition of member functions beyond those truly required violates the open/closed principle, yields fat class interfaces, and ultimately leads to software rot."
Jul
3
awarded  Yearling
May
1
answered Feature branches, beta branches, and scrapped features
Apr
29
awarded  Enthusiast
Mar
24
answered Algorithm for dividing a range into ranges and then finding which range a number belongs to
Sep
1
answered What is the opposite of initialize (or init)?
Aug
5
comment Make use of design patterns in C?
@delnan Sure, why not? Strategy pattern in C++ using polymorphism is just variables as well (exchange the object pointer). Any behavior/algorithm that can be exchanged at run-time without changing the client interface is the strategy pattern.
Aug
5
comment Make use of design patterns in C?
@delnan The concept of standard output/error/input streams is that your application can write to stdout and read from stdin without concern where this is actually read from/written to. When your application is running, stdin could be redirected to read from a TCP socket, and stdout could be redirected to write directly to a printer (for example)
Aug
5
comment Make use of design patterns in C?
@delnan He is referring to the concept of standard output/error/input streams in C, and not the global variables with the same name.
Nov
15
awarded  Teacher
Nov
10
answered Why am I seeing so many for(;;) constructs?
Feb
14
awarded  Supporter