Editing Talk:1306: Sigil Cycle
Please sign your posts with ~~~~ |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 32: | Line 32: | ||
::x will be initialized to 1 because the postfix ++ operator returns the value of c before it was incremented, but the value stored in c will be 2 regardless of further reference. If, instead you initialized x using the prefix version, ++c, x would be 2 because the prefix version of ++ returns the incremented result. (Side note: it's often considered bad practice to rely on the return value of the increment and decrement operators.) [[Special:Contributions/108.162.219.227|108.162.219.227]] 20:58, 20 December 2013 (UTC) | ::x will be initialized to 1 because the postfix ++ operator returns the value of c before it was incremented, but the value stored in c will be 2 regardless of further reference. If, instead you initialized x using the prefix version, ++c, x would be 2 because the prefix version of ++ returns the incremented result. (Side note: it's often considered bad practice to rely on the return value of the increment and decrement operators.) [[Special:Contributions/108.162.219.227|108.162.219.227]] 20:58, 20 December 2013 (UTC) | ||
β | |||
:::No, I stand by what I say. I actually agree with your code, but freely parsing "I will use C++ for this project", as a phrase (at least the first time you utter it) might so easily be a statement that gives a direct result equal to "I will use C for this project". (It helps to have just the right geeky sense of humour, of course.) [[Special:Contributions/141.101.99.229|141.101.99.229]] 21:56, 20 December 2013 (UTC) | :::No, I stand by what I say. I actually agree with your code, but freely parsing "I will use C++ for this project", as a phrase (at least the first time you utter it) might so easily be a statement that gives a direct result equal to "I will use C for this project". (It helps to have just the right geeky sense of humour, of course.) [[Special:Contributions/141.101.99.229|141.101.99.229]] 21:56, 20 December 2013 (UTC) | ||
::::Oh, I assure you, I am quite geeky. I could, for instance, argue that you're mixing the grammars of English and C++, a natural language and context sensitive language. [[Special:Contributions/108.162.219.227|108.162.219.227]] 22:21, 20 December 2013 (UTC) | ::::Oh, I assure you, I am quite geeky. I could, for instance, argue that you're mixing the grammars of English and C++, a natural language and context sensitive language. [[Special:Contributions/108.162.219.227|108.162.219.227]] 22:21, 20 December 2013 (UTC) | ||
Line 64: | Line 63: | ||
The comic strip is entirely about probability that a word you encounter will begin with some sigil. Therefore, the explanation should be about WHY the chart is plotted the way it is -- why does QBASIC have such a high probability, and why C++ does not. Everything else will just confuse anyone who comes to this page.--[[Special:Contributions/108.162.231.238|108.162.231.238]] 15:36, 8 January 2014 (UTC) | The comic strip is entirely about probability that a word you encounter will begin with some sigil. Therefore, the explanation should be about WHY the chart is plotted the way it is -- why does QBASIC have such a high probability, and why C++ does not. Everything else will just confuse anyone who comes to this page.--[[Special:Contributions/108.162.231.238|108.162.231.238]] 15:36, 8 January 2014 (UTC) | ||
:I did move this discussion to the bottom where it belongs to; new statements should not be posted at the top. And back to your comment: {{w|Sigil (computer programming)}} is very well explained at the beginning, read the Wiki article. --[[User:Dgbrt|Dgbrt]] ([[User talk:Dgbrt|talk]]) 21:21, 8 January 2014 (UTC) | :I did move this discussion to the bottom where it belongs to; new statements should not be posted at the top. And back to your comment: {{w|Sigil (computer programming)}} is very well explained at the beginning, read the Wiki article. --[[User:Dgbrt|Dgbrt]] ([[User talk:Dgbrt|talk]]) 21:21, 8 January 2014 (UTC) | ||
β | |||
β |