Timeline for Make your language unusable
Current License: CC BY-SA 3.0
30 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 16, 2020 at 20:59 | comment | added | noɥʇʎԀʎzɐɹƆ | Can you write the Node.js version as you promised now? | |
Mar 29, 2017 at 15:22 | comment | added | Matthew Roh |
@Downgoat Nah, I meant the code rm -rf 'ing itself or something
|
|
Mar 29, 2017 at 15:11 | comment | added | Downgoat |
@SIGSEGV rm -rf wouldn't affect the program being executed since most likely it would be loaded into memory by the time. Also, this is clearing the runtime environment (i.e. variables, methods) rather than the disk, so significantly less destructive
|
|
Mar 29, 2017 at 14:54 | comment | added | Matthew Roh |
..So, basically rm -rf ?
|
|
Aug 21, 2016 at 16:28 | history | edited | Downgoat | CC BY-SA 3.0 |
added 46 characters in body
|
Apr 7, 2016 at 15:07 | history | edited | Downgoat | CC BY-SA 3.0 |
deleted 31 characters in body
|
Feb 23, 2016 at 1:21 | comment | added | jimmy23013 | @Anko As a per site rule, a language is defined by its implementation. If an answer works consistently in at least one implementation that was published before the question, then it is acceptable. See here and here. (So the code is valid. But I'll not comment on that specific wording.) | |
Jan 29, 2016 at 23:32 | comment | added | Downgoat | @Anko that is pretty different imo . SpiderMonkey is a very mature and popular JS engine. | |
Jan 22, 2016 at 1:42 | comment | added | Anko | I think you're confusing JavaScript (the language) with SpiderMonkey (one of the many implementations of the language). Extreme allegory: While I could write a crazy implementation of C in which all invocations of undefined behaviour result in printing the full text of the Declaration of Human Rights, I probably wouldn't be able to argue that my C submission to "golf the UDHR" that just dereferences a null pointer is a valid C solution. :) | |
Jan 22, 2016 at 1:15 | comment | added | Downgoat | @Anko SpiderMonkey is JavaScript though, it comes bundled with Firefox (SpiderMonkey is Firefox's JS engine). I'll write up a version for node.js, etc. later, when I have time | |
Jan 22, 2016 at 1:12 | comment | added | Anko | Could you instead amend the statement “Isn't it nice how JavaScript has such a nice function to destroy itself”? JavaScript doesn't have that function, only the SpiderMonkey implementation does. | |
Jan 22, 2016 at 1:02 | comment | added | Downgoat |
@Anko I'd specified that this is uses the SpiderMonkey engine in a footnote. I could port this to other shells considering writing clear function is pretty trivial.
|
|
Jan 22, 2016 at 1:01 | comment | added | Anko |
That clear function seems to be a SpiderMonkey-shell-specific addition, not a generic JavaScript thing. It certainly doesn't appear in the ES5 spec § Function Properties of the Global Object. I tried this with node and got a "ReferenceError: clear is not defined". In Chrome's and Firefox's console, the clear function just clears the console, regardless of what arguments it is passed. Or perhaps the tool you used complied to a version of ECMAScript older than 5.1?
|
|
Oct 29, 2015 at 0:25 | vote | accept | jimmy23013 | ||
Oct 20, 2015 at 14:36 | history | edited | Downgoat | CC BY-SA 3.0 |
added 24 characters in body
|
Oct 20, 2015 at 5:19 | history | edited | Downgoat | CC BY-SA 3.0 |
added 104 characters in body
|
Oct 18, 2015 at 23:55 | history | rollback | Downgoat |
Rollback to Revision 11
|
|
Oct 18, 2015 at 23:50 | history | edited | Downgoat | CC BY-SA 3.0 |
added 6 characters in body
|
Oct 18, 2015 at 23:44 | history | edited | Downgoat | CC BY-SA 3.0 |
added 77 characters in body
|
Oct 18, 2015 at 19:32 | history | edited | Downgoat | CC BY-SA 3.0 |
added 174 characters in body
|
Oct 18, 2015 at 18:46 | history | edited | Downgoat | CC BY-SA 3.0 |
deleted 5 characters in body
|
Oct 18, 2015 at 18:40 | history | edited | Downgoat | CC BY-SA 3.0 |
deleted 46 characters in body
|
Oct 18, 2015 at 18:16 | history | edited | Downgoat | CC BY-SA 3.0 |
added 22 characters in body
|
Oct 18, 2015 at 17:00 | history | edited | Downgoat | CC BY-SA 3.0 |
added 4 characters in body
|
Oct 18, 2015 at 16:42 | history | edited | Downgoat | CC BY-SA 3.0 |
deleted 15 characters in body
|
Oct 18, 2015 at 16:35 | history | edited | Downgoat | CC BY-SA 3.0 |
added 122 characters in body
|
Oct 18, 2015 at 16:28 | history | edited | Downgoat | CC BY-SA 3.0 |
added 122 characters in body
|
Oct 18, 2015 at 16:21 | history | edited | Downgoat | CC BY-SA 3.0 |
added 113 characters in body
|
Oct 18, 2015 at 16:16 | history | edited | Downgoat | CC BY-SA 3.0 |
deleted 210 characters in body
|
Oct 18, 2015 at 16:02 | history | answered | Downgoat | CC BY-SA 3.0 |