10,620 reputation
12854
bio website klaimsden.net
location France
age 32
visits member for 4 years, 8 months
seen 16 hours ago

Making games with my bare hands. Building narratives with my forehead.


May
20
comment Member vs free function
I disagree with the possible duplicate which is not the same question in the description than this one. Also, it don't have an answer to this one.
May
8
comment Refactoring code with just a few lines different
Which C++ version? I think with a bit of functional mindset you can compose your algorithms using the specific lines as parametters.
Apr
21
awarded  Nice Answer
Apr
12
comment c style casts or c++ style casts
@Deduplicator Depends on your situation, but checking millions of lines of code can be problematic. Also, you might be hunting a specific kind of bug, which would require a specific search. With parenthesis, this search is just not possible.
Apr
12
comment c style casts or c++ style casts
@Deduplicator There are a lot of reasons you might want to know where casts are happening in a code-base. For example when hunting bugs which could be associated with casting (in particular when doing cross-platform development).
Mar
25
awarded  Enlightened
Mar
25
awarded  Nice Answer
Feb
18
awarded  Necromancer
Feb
1
awarded  Disciplined
Jan
7
comment How do you version your files (Version Numbers)
Also note that it is also known as "semantic versionning" and have a complete description there: semver.org
Jan
7
awarded  Excavator
Jan
7
revised Why are there no package management systems for C and C++?
added 41 characters in body
Jan
5
comment Unsure about the decorator design pattern
The question is marked as C++ but this answer is a C# example.
Jan
3
comment Why are there no package management systems for C and C++?
This answer should be updated: 1) Ryppl is a dead project, even it's website is dead. 2) Other projects (commercial or not) like cpm have spawn recently so there is a lot of work being done for getting a package manager for C++. 3) I believe that there will be no winner until modules are in the language and one of the tools manage to exploit that to the fullest.
Dec
9
comment Allow iteration of an internal vector without leaking the implementation
You should probably also show the same code using auto as return types of iterator functions when using C++14.
Sep
30
awarded  Great Answer
Sep
15
awarded  Yearling
Jul
29
comment Are `break` and `continue` bad programming practices?
That answer is a rule of thumb, not a hard rule. It works in most cases, feel free to break it if it make sense in your context.
Jul
17
awarded  Good Answer
Jul
2
awarded  Curious