Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Why INTERCAL is better than Perl (2002) (mongueurs.net)
36 points by brudgers on July 17, 2015 | hide | past | favorite | 15 comments


INTERCAL 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/


Java implementation here:

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



Oh... my... God...


Hearing about INTERCAL always reminds me of this: https://skillsmatter.com/skillscasts/6088-the-worst-programm...


That 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

The lambda calculus without the lambda operation. Brilliant improvement!

Now we just need a video of Wirth's reaction to a demo of these.


Perl doesn't have boolean types and you have to end class definitions with 1; Most languages are better than Perl.


But what is true in Perl is well-defined: 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


Modules, 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.


Perl is a terrific language. When's the last time you've used it?


I disagree. Not for quick scripts.


My 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 ...


Perl 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.


Is this article actually serious? I can't help but think it is satirical.


I'll give you a link and let you guess:

http://www.catb.org/~esr/intercal/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: