Reputation
1,096
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 13 18
Newest
 Yearling
Impact
~35k people reached

  • 0 posts edited
  • 0 helpful flags
  • 22 votes cast
Feb
17
comment What can one do when “lead by example” doesn't work?
@Brendan Does it mean I will also get paid for all the time saved by switching to more efficient development practices ? Neat !
Jan
16
awarded  Yearling
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 :)