Editing Talk:1537: Types
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 7: | Line 7: | ||
"+2 appears to be applying a unary + to the number 2" : or it adds the number of the line, 10, to 2 => 12. Also, the eleventh line, "2+2" may add 2 to all the following 2, explaining line 12. (that theory is from a friend of mine) [[User:Seipas|Seipas]] ([[User talk:Seipas|talk]]) 12:17, 12 June 2015 (UTC) | "+2 appears to be applying a unary + to the number 2" : or it adds the number of the line, 10, to 2 => 12. Also, the eleventh line, "2+2" may add 2 to all the following 2, explaining line 12. (that theory is from a friend of mine) [[User:Seipas|Seipas]] ([[User talk:Seipas|talk]]) 12:17, 12 June 2015 (UTC) | ||
: Also, for the lines 6 and 7, the operation "[1,2,3]+x" may add x to the set [1,2,3] and return true if the operation succeeded or false if not. Adding 2 to the set [1,2,3] returns false because 2 is already in [1,2,3]. [[User:Seipas|Seipas]] ([[User talk:Seipas|talk]]) 12:23, 12 June 2015 (UTC) | : Also, for the lines 6 and 7, the operation "[1,2,3]+x" may add x to the set [1,2,3] and return true if the operation succeeded or false if not. Adding 2 to the set [1,2,3] returns false because 2 is already in [1,2,3]. [[User:Seipas|Seipas]] ([[User talk:Seipas|talk]]) 12:23, 12 June 2015 (UTC) | ||
− | |||
Yellowish Blue: http://www.livescience.com/17948-red-green-blue-yellow-stunning-colors.html is NaN! {{unsigned ip|108.162.221.129}} | Yellowish Blue: http://www.livescience.com/17948-red-green-blue-yellow-stunning-colors.html is NaN! {{unsigned ip|108.162.221.129}} | ||
Line 35: | Line 34: | ||
:Because yellow and blue don't make green. [[Special:Contributions/108.162.237.158|108.162.237.158]] 23:33, 12 June 2015 (UTC) | :Because yellow and blue don't make green. [[Special:Contributions/108.162.237.158|108.162.237.158]] 23:33, 12 June 2015 (UTC) | ||
::It does with my paint kit. Isn't that subtractive mixing. I feel like I've just traveled to a version of [[1268: Alternate Universe]], except I'm the only one here who went to kindergarten. What am I missing? [[User:Djbrasier|Djbrasier]] ([[User talk:Djbrasier|talk]]) 02:28, 13 June 2015 (UTC) | ::It does with my paint kit. Isn't that subtractive mixing. I feel like I've just traveled to a version of [[1268: Alternate Universe]], except I'm the only one here who went to kindergarten. What am I missing? [[User:Djbrasier|Djbrasier]] ([[User talk:Djbrasier|talk]]) 02:28, 13 June 2015 (UTC) | ||
− | |||
::The only {{w|color wheel}} I know has purple (not blue) opposite yellow and orange (not yellow) opposite blue. If that is incorrect, then wikipedia needs some serious editing. [[User:Djbrasier|Djbrasier]] ([[User talk:Djbrasier|talk]]) 02:31, 13 June 2015 (UTC) | ::The only {{w|color wheel}} I know has purple (not blue) opposite yellow and orange (not yellow) opposite blue. If that is incorrect, then wikipedia needs some serious editing. [[User:Djbrasier|Djbrasier]] ([[User talk:Djbrasier|talk]]) 02:31, 13 June 2015 (UTC) | ||
− | |||
− | |||
− | |||
− | |||
line 4: I read NaP as Not a Problem. [[Special:Contributions/141.101.104.12|141.101.104.12]] 17:00, 12 June 2015 (UTC) | line 4: I read NaP as Not a Problem. [[Special:Contributions/141.101.104.12|141.101.104.12]] 17:00, 12 June 2015 (UTC) | ||
: So did I. [[User:Xynariz|Xynariz]] ([[User talk:Xynariz|talk]]) 23:12, 12 June 2015 (UTC) | : So did I. [[User:Xynariz|Xynariz]] ([[User talk:Xynariz|talk]]) 23:12, 12 June 2015 (UTC) | ||
− | |||
Line 3 is missing its prompt. There does not appear to be any relevance to the joke, nor has anyone yet explained why it should be missing. Typo? [[Special:Contributions/108.162.221.183|108.162.221.183]] 17:10, 12 June 2015 (UTC) | Line 3 is missing its prompt. There does not appear to be any relevance to the joke, nor has anyone yet explained why it should be missing. Typo? [[Special:Contributions/108.162.221.183|108.162.221.183]] 17:10, 12 June 2015 (UTC) | ||
− | |||
− | |||
− | |||
− | |||
Note that some programming languages avoid the problem of overloaded '+' operator between operands of vividly different types by using other symbols for string concatenation (be it "a"~"b" or "a"."b") and numerical addition. The real WTF is abusing '+' for string concatenation, which has very different properties from numerical addition, not being symmetrical for example: concat("aa", "bb") == "aabb", while concat("bb", "aa") == "bbaa" != "aabb". --[[User:JakubNarebski|JakubNarebski]] ([[User talk:JakubNarebski|talk]]) 17:38, 12 June 2015 (UTC) | Note that some programming languages avoid the problem of overloaded '+' operator between operands of vividly different types by using other symbols for string concatenation (be it "a"~"b" or "a"."b") and numerical addition. The real WTF is abusing '+' for string concatenation, which has very different properties from numerical addition, not being symmetrical for example: concat("aa", "bb") == "aabb", while concat("bb", "aa") == "bbaa" != "aabb". --[[User:JakubNarebski|JakubNarebski]] ([[User talk:JakubNarebski|talk]]) 17:38, 12 June 2015 (UTC) | ||
Line 68: | Line 57: | ||
The joke on line [10] really doesn't seem to be a Chinese/Japanese language joke. We can see that the language interacts much more directly with line numbers from the inter-line joke between lines [11] and [14], where line [12] becomes [14] because the value of 2 has become 4. This is provable by observing that the line after [14] is [13], showing that the previous line really is still line [12], it simply displays as [14] because the value of 2 has changed. This absurdly direct interaction between the code and its line number makes the joke on line [10] make a lot more sense, as a Chinese/Japanese language joke here seems much too contrived and out-of-place considering the nature of the other jokes in the comic. Not to mention, if the joke on line [10] was really concerning the code's interaction with its line number, it would set up nicely for introducing the inter-line joke between lines [11] and [14].[[Special:Contributions/188.114.106.89|188.114.106.89]] 03:35, 13 June 2015 (UTC) | The joke on line [10] really doesn't seem to be a Chinese/Japanese language joke. We can see that the language interacts much more directly with line numbers from the inter-line joke between lines [11] and [14], where line [12] becomes [14] because the value of 2 has become 4. This is provable by observing that the line after [14] is [13], showing that the previous line really is still line [12], it simply displays as [14] because the value of 2 has changed. This absurdly direct interaction between the code and its line number makes the joke on line [10] make a lot more sense, as a Chinese/Japanese language joke here seems much too contrived and out-of-place considering the nature of the other jokes in the comic. Not to mention, if the joke on line [10] was really concerning the code's interaction with its line number, it would set up nicely for introducing the inter-line joke between lines [11] and [14].[[Special:Contributions/188.114.106.89|188.114.106.89]] 03:35, 13 June 2015 (UTC) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |