Reputation
1,051
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 12 18
Impact
~26k people reached

  • 0 posts edited
  • 0 helpful flags
  • 22 votes cast
Apr
26
awarded  Notable Question
Apr
2
awarded  Notable Question
Mar
20
awarded  Curious
Jan
16
awarded  Yearling
Dec
1
revised How to suggest changes as a recently-hired employee?
added 135 characters in body; edited title
Oct
24
awarded  Popular Question
Sep
16
awarded  Famous Question
Jul
6
comment How does the “Fourth Dimension” work with arrays?
Ever heard of an hypercube ?
Jun
6
awarded  Notable Question
May
19
comment Should I feel “uncomfortable” using auto in C++?
Just nitpicking: in this case, one might as well use the range-based for-loop instead for better clarity (unless you really need the iterator, and not the value). Perhaps another example would illustrate the point better ? (still +1 for me)
Jan
16
awarded  Yearling
Nov
3
awarded  Popular Question
May
7
awarded  Notable Question
Jan
23
accepted How to suggest changes as a recently-hired employee?
Jan
23
awarded  Popular Question
Jan
16
awarded  Yearling
Mar
29
comment Using macro as an abstraction layer
Your colleague probably thinks that somehow your version is slower. If it is, the time difference will probably unnoticeable and anyway, one can expect any decent compiler to inline the call completely where possible. Use the second method.
Feb
27
comment Is it a problem to have different styles of HTML coding within team?
You give an answer in your question : " I mean whenever we look at each other's code, we tend to put a good amount of time in understanding why the other one does that". So yes, it is surely a problem :)
Feb
17
comment Is having C++ header files without extension a good practice?
@SteveJessop: You are right. Actually, he claims that he follows Qt conventions, and I believe he does most of the time. But from time to time, it seems that someone (not necessarily him) adds a file and doesn't follow the convention anymore, resulting in a highly inconsistent layout.
Feb
17
comment Is having C++ header files without extension a good practice?
@ArjunShankar: It is someone from a different team (not even in the same building). We don't have document, but I am in charge of designing the build environment, but we have some history and I regularly have to make decisions about including or not other team's habits in the global environment.