Difference between revisions of "Talk:2309: X"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Variables with no names)
 
(22 intermediate revisions by 20 users not shown)
Line 9: Line 9:
  
 
https://esolangs.org/wiki/X isn't taken. --[[User:Blacksilver|Blacksilver]] ([[User talk:Blacksilver|talk]]) 02:40, 21 May 2020 (UTC)
 
https://esolangs.org/wiki/X isn't taken. --[[User:Blacksilver|Blacksilver]] ([[User talk:Blacksilver|talk]]) 02:40, 21 May 2020 (UTC)
 +
: It has been taken as expexted. [[Special:Contributions/108.162.245.69|108.162.245.69]] 05:24, 18 June 2022 (UTC)
  
 
Some unique looking variable names would be X and x in the fonts Webdings, Wingdings, Wingdings 2, and Wingdings 3.<br/>
 
Some unique looking variable names would be X and x in the fonts Webdings, Wingdings, Wingdings 2, and Wingdings 3.<br/>
Line 20: Line 21:
 
<span style="font-family: 'Wingdings 3';">X</span>
 
<span style="font-family: 'Wingdings 3';">X</span>
 
<span style="font-family: 'Wingdings 3';">x</span> --[[User:Dstrube|Dstrube]] ([[User talk:Dstrube|talk]]) 02:49, 21 May 2020 (UTC)<br/>
 
<span style="font-family: 'Wingdings 3';">x</span> --[[User:Dstrube|Dstrube]] ([[User talk:Dstrube|talk]]) 02:49, 21 May 2020 (UTC)<br/>
 +
:This comment is quite uninformative to someone who doesn't have those fonts installed. [[User:Angel|Angel]] ([[User talk:Angel|talk]]) 09:57, 21 May 2020 (UTC)
 +
:: This comment highlights another issue with Cueball's language.  [[User:Mikemk|Mikemk]] ([[User talk:Mikemk|talk]]) 11:22, 21 May 2020 (UTC)
  
 
As well as esolangs, among which I would consider the likes of Whitespace and b****fuck as potential inspirations, I think I'm also minded of TempleOS and its creator as vaguer but possibly still related influences... [[Special:Contributions/162.158.158.163|162.158.158.163]] 03:28, 21 May 2020 (UTC)
 
As well as esolangs, among which I would consider the likes of Whitespace and b****fuck as potential inspirations, I think I'm also minded of TempleOS and its creator as vaguer but possibly still related influences... [[Special:Contributions/162.158.158.163|162.158.158.163]] 03:28, 21 May 2020 (UTC)
 +
:I find it ironic that you censored the word "brain" but left in the word "fuck".
 +
:[[User:ProphetZarquon|ProphetZarquon]] ([[User talk:ProphetZarquon|talk]]) 16:09, 21 May 2020 (UTC)
  
 
I added an explanation of what a variable is and why it's bad to have every one named X. It's pretty rudimentary though, hope someone more experienced than me will improve it. [[User:Unpopular Opinions|Goodbye, world!]] ([[User talk:Unpopular Opinions|talk]]) 04:39, 21 May 2020 (UTC)
 
I added an explanation of what a variable is and why it's bad to have every one named X. It's pretty rudimentary though, hope someone more experienced than me will improve it. [[User:Unpopular Opinions|Goodbye, world!]] ([[User talk:Unpopular Opinions|talk]]) 04:39, 21 May 2020 (UTC)
Line 31: Line 36:
  
  
[[https://media.discordapp.net/attachments/677507038607048704/706860858587873310/ShapeLikeItSelf_img1.png?width=282&height=209 Language where you can have return keyword in a if condition]],
+
[[https://media.discordapp.net/attachments/677507038607048704/713790097232756867/unknown.png Language where you can have return keyword in a if condition]],
[[https://media.discordapp.net/attachments/677507038607048704/712914169774735441/unknown.png?width=292&height=103 Language that uses unicode symbols for built_in operators]],
+
[[https://media.discordapp.net/attachments/677507038607048704/713791559371456652/unknown.png Language that uses unicode symbols for built_in operators]],
[[https://media.discordapp.net/attachments/677507038607048704/712915431446282240/unknown.png?width=396&height=379 Language, I have no words to describe]],
+
[[https://media.discordapp.net/attachments/677507038607048704/712915431446282240/unknown.png Language, I have no words to describe]],
 
and this this '''X''' thing is winning so far...
 
and this this '''X''' thing is winning so far...
 
[[Special:Contributions/162.158.89.139|162.158.89.139]] 06:35, 21 May 2020 (UTC)
 
[[Special:Contributions/162.158.89.139|162.158.89.139]] 06:35, 21 May 2020 (UTC)
Line 39: Line 44:
 
:Yeah, but C++ does that shit either '''unintentionally''' or '''at user demand''' (although, to be clear, I'm not saying it's any good; C++ and Java are possibly the worst programming languages in terms of shoddy design). The X programming language is just the designer being an asshole. [[Special:Contributions/172.68.189.205|172.68.189.205]] 07:04, 21 May 2020 (UTC)
 
:Yeah, but C++ does that shit either '''unintentionally''' or '''at user demand''' (although, to be clear, I'm not saying it's any good; C++ and Java are possibly the worst programming languages in terms of shoddy design). The X programming language is just the designer being an asshole. [[Special:Contributions/172.68.189.205|172.68.189.205]] 07:04, 21 May 2020 (UTC)
 
::Those links have nothing to do with C++/Java and you can Not do those things in C++ or Java (except an if in an assignment).[[Special:Contributions/162.158.92.208|162.158.92.208]] 08:02, 21 May 2020 (UTC)
 
::Those links have nothing to do with C++/Java and you can Not do those things in C++ or Java (except an if in an assignment).[[Special:Contributions/162.158.92.208|162.158.92.208]] 08:02, 21 May 2020 (UTC)
 +
:Those look like pretty sane language features; just looks weird because of the Eliza effect; those keywords don't behave like you'd expect them to based on experience of other languages. In the first example, you can certainly do that in Perl using "if (defined wantarray)"; it's just unusual (but comprehensible) to name the keyword "return". What language is that? [[User:Angel|Angel]] ([[User talk:Angel|talk]]) 09:57, 21 May 2020 (UTC)
 +
::Language is called ShapedLikeItSelf, but it currently has no runner. Documentation is just of images like these on discord server.
 +
::[[https://discord.gg/ercPss9 This is link to it]] if you are intersted. [[Special:Contributions/162.158.89.19|162.158.89.19]] 10:19, 21 May 2020 (UTC)
  
 
Did Randall refer to this comic? https://xkcd.com/1537/
 
Did Randall refer to this comic? https://xkcd.com/1537/
Line 44: Line 52:
  
 
Am I the only one that tried fiddling the CSS on the page to see if the X would change? Spoiler -> It didn't. [[User:Xseo|Xseo]] ([[User talk:Xseo|talk]]) 08:54, 21 May 2020 (UTC)
 
Am I the only one that tried fiddling the CSS on the page to see if the X would change? Spoiler -> It didn't. [[User:Xseo|Xseo]] ([[User talk:Xseo|talk]]) 08:54, 21 May 2020 (UTC)
 +
 +
If X is the only variable name, can it be omitted? For example, writing a single-argument function name in a different font to imply which X should be treated as its argument. And that gets me wondering how the source is stored; will the IDE allow use of fonts not installed on your system? Will the compiler fail if it can't find the font, requiring you to track down all of the fonts a developer used in order to compile their code? And what would be the legality of mixing open-source code and proprietary fonts? [[User:Angel|Angel]] ([[User talk:Angel|talk]]) 09:57, 21 May 2020 (UTC)
 +
 +
"… and array indices start at 8, because anything smaller than that would be unreadable." [[User:Angel|Angel]] ([[User talk:Angel|talk]]) 10:00, 21 May 2020 (UTC)
 +
 +
Who is going to implement this first??[[Special:Contributions/108.162.216.122|108.162.216.122]] 13:03, 21 May 2020 (UTC)
 +
 +
Hey guys what coding language did he do to almost be arrested? [[Special:Contributions/162.158.187.139|162.158.187.139]] 14:18, 21 May 2020 (UTC)Anonymous
 +
:Well, I've got this one with just four operands, everything's a relative address in 4-cored circular memory and there's no paractical differentiation between the packed opcodes, addresses and data (or their 2-bit lower-limit boundaries) when operated upon from elsewhere. Everything suggests it should be be Turing-complete. [[Special:Contributions/162.158.155.242|162.158.155.242]] 11:47, 22 May 2020 (UTC)
 +
 +
Isn't the fixed vs variable width a pun on the variable's internal size, eg. a 64-bit integer [fixed width) vs a string (variable width) ?
 +
 +
I sure hope this new language at least supports indexed tuples.  If so, that wouldn't be so bad, unless for some reason I needed more than one tuple in the same scope.[[User:Whiteheadw|Whiteheadw]] ([[User talk:Whiteheadw|talk]]) 23:01, 21 May 2020 (UTC)
 +
 +
Harrumph.  I'm sticking with LOLcode http://www.lolcode.org/ and thats an end of it. [[User:Cellocgw|Cellocgw]] ([[User talk:Cellocgw|talk]]) 14:03, 22 May 2020 (UTC)
 +
 +
Is this a continuation of the [[:Category:Code Quality|Code Quality]] series? [[User:TomW1605|TomW1605]] ([[User talk:TomW1605|talk]]) 14:05, 22 May 2020 (UTC)
 +
 +
I'm not sure that this: "ℝ denotes the set of natural numbers, and is distinct from R" is strictly true. The way I was taught is that boldfaced R does stand for the real numbers, except when it doesn't, and blackboard-bold ℝ (and Q, and C, and Z) are just what you write on the blackboard since it's impossible to make a clear boldfaced R with chalk.
 +
Not that the main point doesn't stand--too many circumstances where plain P, bold P, italic P, and fancy curly script P all mean different things. [[Special:Contributions/162.158.62.105|162.158.62.105]] 18:57, 22 May 2020 (UTC)
 +
 +
: Blackboard Bold isn't a reliable convention but, generally, '''N''' is the set of naturals, '''R''' reals. https://en.m.wikipedia.org/wiki/Blackboard_bold [[Special:Contributions/172.68.143.30|172.68.143.30]] 20:32, 22 May 2020 (UTC)
 +
 +
And to continue on the "jab at mathematicians" line of thought... Either the recently mentioned P's or an "a vs alpha" (a in the Symbol font) or something similar might make better examples than that '''N''' in [[#Explanation]]... -- [[Special:Contributions/162.158.19.37|162.158.19.37]] 16:41, 23 May 2020 (UTC)
 +
 +
A few  ago it was Java and C++. And Xul. And JavaScript. And VB. And VB.Net. And C#. And Kotlin And M4. And Lua. And Python2. And Python3. And Perl. And PHP. And Typescript. But now everyone creates their own programming language => Perhaps we should make another law against introducing non-weird programming languages, too. [[User:Gunterkoenigsmann|Gunterkoenigsmann]] ([[User talk:Gunterkoenigsmann|talk]]) 07:12, 24 May 2020 (UTC)
 +
 +
This comic was [https://twitter.com/gvanrossum/status/1263323515542843392 tweeted] by Guido van Rossum (creator of Python), and [https://twitter.com/wirklichewelt/status/1263420906434703360 apparently] this is legal Python since [https://www.python.org/dev/peps/pep-3131/ PEP 3131]! [[User:Divieira|Divieira]] ([[User talk:Divieira|talk]]) 19:53, 26 May 2020 (UTC)
 +
 +
This is the only comic I have Noticed where the title is shorter than the number, Also You cold have upper and lower case X.
 +
[[User:Gunterkoenigsmann|Gunterkoenigsmann]] ([[User talk:Gunterkoenigsmann|talk]]) 07:57, 09 Jun 2021 (UTC)
 +
:If you scroll through [https://xkcd.com/archive/ the archive] you'll find plenty of 3-letter titles, many of these belonging to 4-digit comics. --[[User:Lupo|Lupo]] ([[User talk:Lupo|talk]]) 13:03, 10 June 2021 (UTC)
 +
 +
Is Twitter being rewritten in this language? [[Special:Contributions/172.68.174.174|172.68.174.174]] 14:50, 16 September 2023 (UTC)

Latest revision as of 14:50, 16 September 2023

id certainly use that language lol (172.69.70.101)

-- haXkell is a X-based dialect of haskell
X :: Integer -> Integer
X 0 = 1
X X = X * X (X-1)
Capncanuck (talk) 02:35, 21 May 2020 (UTC)

https://esolangs.org/wiki/X isn't taken. --Blacksilver (talk) 02:40, 21 May 2020 (UTC)

It has been taken as expexted. 108.162.245.69 05:24, 18 June 2022 (UTC)

Some unique looking variable names would be X and x in the fonts Webdings, Wingdings, Wingdings 2, and Wingdings 3.
They are respectively as follows:
X x X x X x X x --Dstrube (talk) 02:49, 21 May 2020 (UTC)

This comment is quite uninformative to someone who doesn't have those fonts installed. Angel (talk) 09:57, 21 May 2020 (UTC)
This comment highlights another issue with Cueball's language. Mikemk (talk) 11:22, 21 May 2020 (UTC)

As well as esolangs, among which I would consider the likes of Whitespace and b****fuck as potential inspirations, I think I'm also minded of TempleOS and its creator as vaguer but possibly still related influences... 162.158.158.163 03:28, 21 May 2020 (UTC)

I find it ironic that you censored the word "brain" but left in the word "fuck".
ProphetZarquon (talk) 16:09, 21 May 2020 (UTC)

I added an explanation of what a variable is and why it's bad to have every one named X. It's pretty rudimentary though, hope someone more experienced than me will improve it. Goodbye, world! (talk) 04:39, 21 May 2020 (UTC)

Forth basically doesn't use variable names. Commands operate on and consume the last number mentioned. A Forth program "1 2 3 . . ." prints 3, then 2, then 1. "2 3 + ." prints 5 I think??
In Microsoft "Transact-SQL" you can script variables named starting @ and temporary objects starting #. I promise I try to resist naming objects @ or # and especially if @ or # is going to be a different object in each program... or is not. And if someone else needs to reads this (and I don't want to punish them). Not to mention "@ " for instance. Robert Carnegie [email protected] 141.101.98.54 09:21, 21 May 2020 (UTC)

Psh you're all chicken. Chicken chicken chicken.


[Language where you can have return keyword in a if condition], [Language that uses unicode symbols for built_in operators], [Language, I have no words to describe], and this this X thing is winning so far... 162.158.89.139 06:35, 21 May 2020 (UTC)

Yeah, but C++ does that shit either unintentionally or at user demand (although, to be clear, I'm not saying it's any good; C++ and Java are possibly the worst programming languages in terms of shoddy design). The X programming language is just the designer being an asshole. 172.68.189.205 07:04, 21 May 2020 (UTC)
Those links have nothing to do with C++/Java and you can Not do those things in C++ or Java (except an if in an assignment).162.158.92.208 08:02, 21 May 2020 (UTC)
Those look like pretty sane language features; just looks weird because of the Eliza effect; those keywords don't behave like you'd expect them to based on experience of other languages. In the first example, you can certainly do that in Perl using "if (defined wantarray)"; it's just unusual (but comprehensible) to name the keyword "return". What language is that? Angel (talk) 09:57, 21 May 2020 (UTC)
Language is called ShapedLikeItSelf, but it currently has no runner. Documentation is just of images like these on discord server.
[This is link to it] if you are intersted. 162.158.89.19 10:19, 21 May 2020 (UTC)

Did Randall refer to this comic? https://xkcd.com/1537/ I vaguely remember another one about an esoteric language. Is there a category of programming languages on explainxkcd?

Am I the only one that tried fiddling the CSS on the page to see if the X would change? Spoiler -> It didn't. Xseo (talk) 08:54, 21 May 2020 (UTC)

If X is the only variable name, can it be omitted? For example, writing a single-argument function name in a different font to imply which X should be treated as its argument. And that gets me wondering how the source is stored; will the IDE allow use of fonts not installed on your system? Will the compiler fail if it can't find the font, requiring you to track down all of the fonts a developer used in order to compile their code? And what would be the legality of mixing open-source code and proprietary fonts? Angel (talk) 09:57, 21 May 2020 (UTC)

"… and array indices start at 8, because anything smaller than that would be unreadable." Angel (talk) 10:00, 21 May 2020 (UTC)

Who is going to implement this first??108.162.216.122 13:03, 21 May 2020 (UTC)

Hey guys what coding language did he do to almost be arrested? 162.158.187.139 14:18, 21 May 2020 (UTC)Anonymous

Well, I've got this one with just four operands, everything's a relative address in 4-cored circular memory and there's no paractical differentiation between the packed opcodes, addresses and data (or their 2-bit lower-limit boundaries) when operated upon from elsewhere. Everything suggests it should be be Turing-complete. 162.158.155.242 11:47, 22 May 2020 (UTC)

Isn't the fixed vs variable width a pun on the variable's internal size, eg. a 64-bit integer [fixed width) vs a string (variable width) ?

I sure hope this new language at least supports indexed tuples. If so, that wouldn't be so bad, unless for some reason I needed more than one tuple in the same scope.Whiteheadw (talk) 23:01, 21 May 2020 (UTC)

Harrumph. I'm sticking with LOLcode http://www.lolcode.org/ and thats an end of it. Cellocgw (talk) 14:03, 22 May 2020 (UTC)

Is this a continuation of the Code Quality series? TomW1605 (talk) 14:05, 22 May 2020 (UTC)

I'm not sure that this: "ℝ denotes the set of natural numbers, and is distinct from R" is strictly true. The way I was taught is that boldfaced R does stand for the real numbers, except when it doesn't, and blackboard-bold ℝ (and Q, and C, and Z) are just what you write on the blackboard since it's impossible to make a clear boldfaced R with chalk. Not that the main point doesn't stand--too many circumstances where plain P, bold P, italic P, and fancy curly script P all mean different things. 162.158.62.105 18:57, 22 May 2020 (UTC)

Blackboard Bold isn't a reliable convention but, generally, N is the set of naturals, R reals. https://en.m.wikipedia.org/wiki/Blackboard_bold 172.68.143.30 20:32, 22 May 2020 (UTC)

And to continue on the "jab at mathematicians" line of thought... Either the recently mentioned P's or an "a vs alpha" (a in the Symbol font) or something similar might make better examples than that N in #Explanation... -- 162.158.19.37 16:41, 23 May 2020 (UTC)

A few ago it was Java and C++. And Xul. And JavaScript. And VB. And VB.Net. And C#. And Kotlin And M4. And Lua. And Python2. And Python3. And Perl. And PHP. And Typescript. But now everyone creates their own programming language => Perhaps we should make another law against introducing non-weird programming languages, too. Gunterkoenigsmann (talk) 07:12, 24 May 2020 (UTC)

This comic was tweeted by Guido van Rossum (creator of Python), and apparently this is legal Python since PEP 3131! Divieira (talk) 19:53, 26 May 2020 (UTC)

This is the only comic I have Noticed where the title is shorter than the number, Also You cold have upper and lower case X.

Gunterkoenigsmann (talk) 07:57, 09 Jun 2021 (UTC)
If you scroll through the archive you'll find plenty of 3-letter titles, many of these belonging to 4-digit comics. --Lupo (talk) 13:03, 10 June 2021 (UTC)

Is Twitter being rewritten in this language? 172.68.174.174 14:50, 16 September 2023 (UTC)