7 ms·
Why INTERCAL is better than Perl (2002)
- emergentcypher 11y agoHearing about INTERCAL always reminds me of this: https://skillsmatter.com/skillscasts/6088-the-worst-programming-language-ever https://skillsmatter.com/skillscasts/6088-the-worst-programm...
- HCIdivision17 11y agoINTERCAL has made many contributions to the state-of-the-art for numerous modern languages. My personal favorite sides with the author with the implementation of COME FROM, which is indisputably a vast improvement over the much maligned GOTO. It's so handy that it's been ported to Python! [0] [0] http://entrian.com/goto/ http://entrian.com/goto/
- nickpsecurity 11y agoThat was hilarious. Especially the precedence section. The brilliance behind INTERCAL's design also inspired work in the functional programming domain: http://www.madore.org/~david/programs/unlambda/#what_is http://www.madore.org/~david/programs/unlambda/#what_is The lambda calculus without the lambda operation. Brilliant improvement! Now we just need a video of Wirth's reaction to a demo of these.
- nickpsecurity 11y agoJava implementation here: http://progopedia.com/implementation/j-intercal/ http://progopedia.com/implementation/j-intercal/ Now, are there any true innovators out there that want to put a REST-ful web framework on it? ;)
- AlisdairO 11y agohttp://www.intercaloninterstates.org/index.html http://www.intercaloninterstates.org/index.html
- nickpsecurity 11y agoOh... my... God...
- stevebmark 11y agoPerl doesn't have boolean types and you have to end class definitions with 1; Most languages are better than Perl.
- m0skit0 11y agoI disagree. Not for quick scripts.
- mercurial 11y agoModules, not classes. Also, while Python has True and False, 0 is falsy and all other numbers are truthy. There are a lot of problems with Perl, but picking on these two is a bit silly. They belong to the class of superficial issues that all languages suffer from.
- cms07 11y agoPerl is a terrific language. When's the last time you've used it?
- eCa 11y agoBut what is true in Perl is well-defined: http://perldoc.perl.org/perlsyn.html#Truth-and-Falsehood http://perldoc.perl.org/perlsyn.html#Truth-and-Falsehood And modules doesn't have to end with 1;. They must return a true value :) Added: If one really want booleans, there is [1]. [1] https://metacpan.org/pod/boolean https://metacpan.org/pod/boolean
- aarestad 11y agoMy favorite part, at the end: ...With INTERCAL, you can regularly type your name in your program. Especially if your name is FORGET. Author Jean Forget ...
- m0skit0 11y agoIs this article actually serious? I can't help but think it is satirical.
- nickpsecurity 11y agoI'll give you a link and let you guess: http://www.catb.org/~esr/intercal/ http://www.catb.org/~esr/intercal/
- korginator 11y agoPerl lends itself to craziness because of the notorious TMTOWTDI principle taken to the extreme - Intercal can indeed appear more sane than many Perl programs I have had the misfortune to use and (shudder) update.