Click here to Skip to main content
12,635,662 members (25,678 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Does this language feature seem strange to anyone else? Pin
PIEBALDconsult20-Mar-13 15:17
memberPIEBALDconsult20-Mar-13 15:17 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Matthew Faithfull20-Mar-13 15:10
memberMatthew Faithfull20-Mar-13 15:10 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0020-Mar-13 15:13
memberlewax0020-Mar-13 15:13 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Matthew Faithfull20-Mar-13 15:29
memberMatthew Faithfull20-Mar-13 15:29 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0020-Mar-13 15:39
memberlewax0020-Mar-13 15:39 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Matthew Faithfull20-Mar-13 16:10
memberMatthew Faithfull20-Mar-13 16:10 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Mike Winiberg21-Mar-13 23:14
memberMike Winiberg21-Mar-13 23:14 
GeneralRe: Does this language feature seem strange to anyone else? Pin
AspDotNetDev20-Mar-13 14:56
protectorAspDotNetDev20-Mar-13 14:56 
I'd call them "integer literal" and "integer variable" rather than "integer const" and "integer variable". But yeah, that's an interesting nuance, and I don't think implicit conversion operators can make a distinct between literals/variables.

However, expression trees might be able to (though that is a runtime construct, not a compile time one).

Also, I wonder if Roslyn would allow for knowledge of literals/variables.

GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0020-Mar-13 15:06
memberlewax0020-Mar-13 15:06 
GeneralRe: Does this language feature seem strange to anyone else? Pin
AspDotNetDev20-Mar-13 15:09
protectorAspDotNetDev20-Mar-13 15:09 
GeneralRe: Does this language feature seem strange to anyone else? Pin
jschell21-Mar-13 11:04
memberjschell21-Mar-13 11:04 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0021-Mar-13 11:27
memberlewax0021-Mar-13 11:27 
GeneralRe: Does this language feature seem strange to anyone else? Pin
César de Souza22-Mar-13 1:43
memberCésar de Souza22-Mar-13 1:43 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0022-Mar-13 11:58
memberlewax0022-Mar-13 11:58 
GeneralRe: Does this language feature seem strange to anyone else? Pin
englebart22-Mar-13 3:26
memberenglebart22-Mar-13 3:26 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0022-Mar-13 11:41
memberlewax0022-Mar-13 11:41 
GeneralRe: Does this language feature seem strange to anyone else? Pin
RafagaX22-Mar-13 7:40
memberRafagaX22-Mar-13 7:40 
GeneralRe: Does this language feature seem strange to anyone else? Pin
Chadwick Posey22-Mar-13 8:48
memberChadwick Posey22-Mar-13 8:48 
GeneralRe: Does this language feature seem strange to anyone else? Pin
lewax0022-Mar-13 11:45
memberlewax0022-Mar-13 11:45 
GeneralReading Code Pin
Kyudos20-Mar-13 12:22
memberKyudos20-Mar-13 12:22 
GeneralRe: Reading Code Pin
wizardzz20-Mar-13 12:29
memberwizardzz20-Mar-13 12:29 
GeneralRe: Reading Code Pin
AspDotNetDev20-Mar-13 12:40
protectorAspDotNetDev20-Mar-13 12:40 
JokeRe: Reading Code Pin
Kyudos20-Mar-13 12:47
memberKyudos20-Mar-13 12:47 
GeneralRe: Reading Code Pin
lewax0020-Mar-13 12:42
memberlewax0020-Mar-13 12:42 
GeneralRe: Reading Code Pin
CDP180220-Mar-13 12:39
memberCDP180220-Mar-13 12:39 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 11 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid