Click here to Skip to main content
14,392,645 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
JokeRe: Sometimes I Wonder .... Pin
Cp-Coder4-Dec-19 1:42
MemberCp-Coder4-Dec-19 1:42 
AnswerRe: Sometimes I Wonder .... Pin
lopatir4-Dec-19 3:19
Memberlopatir4-Dec-19 3:19 
JokeIntroducing my latest parser project - "James" Pin
honey the codewitch4-Dec-19 0:05
Memberhoney the codewitch4-Dec-19 0:05 
GeneralRe: Introducing my latest parser project - "James" Pin
Daniel Pfeffer4-Dec-19 0:30
professionalDaniel Pfeffer4-Dec-19 0:30 
GeneralRe: Introducing my latest parser project - "James" Pin
honey the codewitch4-Dec-19 0:36
Memberhoney the codewitch4-Dec-19 0:36 
GeneralRe: Introducing my latest parser project - "James" Pin
lopatir4-Dec-19 3:34
Memberlopatir4-Dec-19 3:34 
GeneralRe: Introducing my latest parser project - "James" Pin
honey the codewitch4-Dec-19 3:36
Memberhoney the codewitch4-Dec-19 3:36 
Rantpostfix increment and decrement can get bent Pin
honey the codewitch3-Dec-19 23:50
Memberhoney the codewitch3-Dec-19 23:50 
In order to implement these operators internally requires the creation of a variable to hold an intermediary result.

// internally ++i is
i=i+1


versus

// internally i++ is
var iPrev = i;
i=i+1;
// iPrev, not i contains the returned value, since it's postfix


This is murder to implement in an expression parser.

All for what? So some clowns can use a less efficient version of an increment/decrement operator?

is ++<target> really so much worse that <target>++?

In fact, whoever decided on having both? I'd like to have a long conversation with them. Sigh | :sigh:
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: postfix increment and decrement can get bent Pin
F-ES Sitecore4-Dec-19 0:02
mveF-ES Sitecore4-Dec-19 0:02 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 0:08
Memberhoney the codewitch4-Dec-19 0:08 
GeneralRe: postfix increment and decrement can get bent Pin
F-ES Sitecore4-Dec-19 0:19
mveF-ES Sitecore4-Dec-19 0:19 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 0:26
Memberhoney the codewitch4-Dec-19 0:26 
GeneralRe: postfix increment and decrement can get bent Pin
F-ES Sitecore4-Dec-19 0:41
mveF-ES Sitecore4-Dec-19 0:41 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 0:42
Memberhoney the codewitch4-Dec-19 0:42 
GeneralRe: postfix increment and decrement can get bent Pin
F-ES Sitecore4-Dec-19 0:49
mveF-ES Sitecore4-Dec-19 0:49 
GeneralRe: postfix increment and decrement can get bent Pin
Richard Deeming4-Dec-19 1:19
communityengineerRichard Deeming4-Dec-19 1:19 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 1:27
Memberhoney the codewitch4-Dec-19 1:27 
GeneralRe: postfix increment and decrement can get bent Pin
Richard MacCutchan4-Dec-19 0:28
mveRichard MacCutchan4-Dec-19 0:28 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 0:36
Memberhoney the codewitch4-Dec-19 0:36 
GeneralRe: postfix increment and decrement can get bent Pin
F-ES Sitecore4-Dec-19 0:40
mveF-ES Sitecore4-Dec-19 0:40 
GeneralRe: postfix increment and decrement can get bent Pin
Richard MacCutchan4-Dec-19 1:09
mveRichard MacCutchan4-Dec-19 1:09 
GeneralRe: postfix increment and decrement can get bent Pin
Sander Rossel4-Dec-19 0:12
professionalSander Rossel4-Dec-19 0:12 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 0:14
Memberhoney the codewitch4-Dec-19 0:14 
GeneralRe: postfix increment and decrement can get bent Pin
Sander Rossel4-Dec-19 0:17
professionalSander Rossel4-Dec-19 0:17 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 0:19
Memberhoney the codewitch4-Dec-19 0:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.