Editing Talk:2109: Invisible Formatting

Jump to: navigation, search
Ambox notice.png 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 4: Line 4:
 
:Some programming puzzles are often solved with stuff like this: AΑ [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
 
:Some programming puzzles are often solved with stuff like this: AΑ [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
 
:"l" (lower-case "L") is a valid suffix to integer literals in C and derived languages. It indicates the number is of the "long int" type as opposed to a plain "int". Because C automatically upconverts the "int" type into "long int" when needed, the "l" suffix is rarely used. The result: "long int a = 1;" and "long int a = 1l;" mean exactly the same thing, and both statements are perfectly standard and won't raise any warning from compilers. "ll" (double el) is also a valid suffix, this time for the "long long int" type. [[User:GuB|GuB]] ([[User talk:GuB|talk]]) 15:39, 8 February 2019 (UTC)
 
:"l" (lower-case "L") is a valid suffix to integer literals in C and derived languages. It indicates the number is of the "long int" type as opposed to a plain "int". Because C automatically upconverts the "int" type into "long int" when needed, the "l" suffix is rarely used. The result: "long int a = 1;" and "long int a = 1l;" mean exactly the same thing, and both statements are perfectly standard and won't raise any warning from compilers. "ll" (double el) is also a valid suffix, this time for the "long long int" type. [[User:GuB|GuB]] ([[User talk:GuB|talk]]) 15:39, 8 February 2019 (UTC)
:Typing lowercase ''L'' instead of ''1'' is a common thing for people of a certain age.  Old manual typewriters usually don't have a "1" key, so people learned to use lowercase ''L'' instead -- and sometimes slip back into that habit on newer technology. --[[User:Aaron of Mpls|Aaron of Mpls]] ([[User talk:Aaron of Mpls|talk]]) 02:03, 9 February 2019 (UTC)  
+
:Typing lowercase ''L'' instead of ''1'' is a common thing for people of a certain age.  Old manual typewriters usually don't have a "1" key, so people learned to use lowercase ''L'' instead -- and sometimes slip back into that habit on newer technology. --[[User:Aaron of Mpls|Aaron of Mpls]] ([[User talk:Aaron of Mpls|talk]]) 02:03, 9 February 2019 (UTC) Tha's exactly what happened in my example. I blame the programmer, though, for allowing a letter where a numeral was required or possibly converting the l to a 1 if the programmer knew such a thing ever happened. In either case, it shouldn't have allowed the l to just sit there like a bomb waiting to blow apart the post-tax-year processing. [[Special:Contributions/172.68.58.83|172.68.58.83]] 15:22, 9 February 2019 (UTC)
::Tha's exactly what happened in my example. I blame the programmer, though, for allowing a letter where a numeral was required or possibly converting the l to a 1 if the programmer knew such a thing ever happened. In either case, it shouldn't have allowed the l to just sit there like a bomb waiting to blow apart the post-tax-year processing. [[Special:Contributions/172.68.58.83|172.68.58.83]] 15:22, 9 February 2019 (UTC)
 
  
 
I went to this page, expecting it to be self-referential. Was not disappointed. [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
 
I went to this page, expecting it to be self-referential. Was not disappointed. [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
Line 51: Line 50:
  
 
In LibreOffice Writer on Linux if I select a word with double-click it doesn't include the space, but if I select it with the keyboard using Ctrl+Shift+RightArrow it '''does''' include the space. In the comic it looks like the selection was made with the mouse, but it's not explicit. [[Special:Contributions/172.68.189.193|172.68.189.193]] 00:15, 11 July 2019 (UTC)
 
In LibreOffice Writer on Linux if I select a word with double-click it doesn't include the space, but if I select it with the keyboard using Ctrl+Shift+RightArrow it '''does''' include the space. In the comic it looks like the selection was made with the mouse, but it's not explicit. [[Special:Contributions/172.68.189.193|172.68.189.193]] 00:15, 11 July 2019 (UTC)
 
I do this.
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Template used on this page: