501 reputation
36
bio website careers.stackoverflow.com/…
location California
age
visits member for 3 years, 10 months
seen May 12 '13 at 19:35


+1.805.729.1913 (voice)
+1.805.693.1097 (fax)

Sr. Web Ops Engineer at AppFolio, Inc. (SaaS!)

Expertise: Ruby, C, C++, Java, PHP, various frameworks, most scripting languages, consulting system administration and web engineering, embedded development. Digital circuit design and layout, specializing in signal integrity, programmable logic and simulation.

Some past appointments from my résumé...
  • NASA, JPL: Design Review Board, Mars Observer
  • The Eclipse Foundation: Director, Steward
  • The NetBSD Foundation: Director, Portmaster
  • The Lorraine Williams LaShelle Trust: Trustee
  • Avalon Computer Systems, Inc.: Director, Treasurer
  • The Xfree86 Project, Inc.: Developer

May
12
awarded  Informed
Jan
3
awarded  Supporter
Oct
5
awarded  Yearling
Oct
8
awarded  Yearling
Jun
28
awarded  Nice Answer
Feb
4
awarded  Good Answer
Feb
3
awarded  Nice Answer
Feb
1
awarded  Mortarboard
Feb
1
comment Why do we have postfix increment?
Just to be strict about this, unary plus also applies the integer promotions, see stackoverflow.com/questions/4280188/difference-between-and-in-c/… for a (contrived) example of it actually doing something.
Feb
1
comment Why do we have postfix increment?
@caf, that is what I was trying to say, sorry if it was unclear. "...hasn't been required since C89" was supposed to mean "you have to go back to C89 to find such a requirement".
Feb
1
comment Why do we have postfix increment?
I would agree that probably the single biggest reason is that the operator just makes sense. Deref the pointer and then increment it. It's exactly what you want to do in so many cases.
Feb
1
comment Why do we have postfix increment?
@FredOverflow. I think you misunderstood exactly what the "folk myth" is. The myth is that C was designed to exploit those 11 ops, not that they don't exist and not that the code pattern didn't become popular because everyone knew they mapped to the 11 well. In case it isn't clear: the PDP-11 really really does implement those two modes in hardware for almost every instruction as an addressing mode, and it really was the first important machine C ran on.
Feb
1
comment Why do we have postfix increment?
DMR only said that the PDP-11 was not the reason it was added to C. I said that too. What I said was that it was used to advantage on the PDP-11 and became a popular design pattern for that exact reason. If Wikipedia contradicts that then they are simply wrong, but I don't read it that way. It is phrased poorly on that W page.
Feb
1
answered Why do we have postfix increment?
Dec
28
awarded  Teacher