Talk:2309: X

Explain xkcd: It's 'cause you're dumb.
Revision as of 09:21, 21 May 2020 by (talk) (Variables with no names)
Jump to: navigation, search

id certainly use that language lol (

-- 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) 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... 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] 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... 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. 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). 08:02, 21 May 2020 (UTC)

Did Randall refer to this comic? 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)