Difference between revisions of "Talk:2309: X"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Variables with no names)
Line 24: Line 24:
  
 
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)
 +
 +
: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] [[Special:Contributions/141.101.98.54|141.101.98.54]] 09:21, 21 May 2020 (UTC)
  
 
Psh you're all chicken. Chicken chicken chicken.
 
Psh you're all chicken. Chicken chicken chicken.

Revision as of 09:21, 21 May 2020

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)

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)

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 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)

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)