I'd rather praise Qbasic. I use to program with it when I was twelwe and, oh golly, I was quite impressed. You don't even have to declare your variables, how timesaving!
$ ghi
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6, for Haskell 98. (4ch-patched version)
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :3 for help.
Prelude> 1 / 0
Oh-Shi
Name:
Anonymous2007-03-26 16:45 ID:VJyEpm48
$ hugs
__ __ __ __ ____ ___ _________________________________________
|| || || || || || ||__ Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__|| __|| Copyright (c) 1994-2005
||---|| ___|| World Wide Web: http://haskell.org/hugs
|| || Report bugs to: hugs-bugs@haskell.org
|| || Version: 20050308 _________________________________________
Haskell 98 mode: Restart with command line option -98 to enable extensions
Type :? for help
Hugs.Base> 1 / 0
inf
Hugs.Base> fuck your floating points nigga!
ERROR - Syntax error in expression (unexpected end of input)
Hugs.Base> :quit
[Leaving Hugs]
>>27
I recommend following the link to the J programming language as well ;)
Name:
Anonymous2007-03-27 11:02 ID:Dv/34h9Z
>>24
The guy who came up with that that was retarded. He would be good friends with Larry Wall. So good the UCS did not exist back when they started to work.
Seriously, shit like using the $%& operator to extract prime numbered elements of a list makes me think it's a good idea to keep everything a function (or a macro with the shape of a function) as in Lisp and fuck operators.
You may have noticed that I use indention to indicate lines that are part of a block of source code. This is not simply good style, but it is also part of Haskell's syntax. Indentation denotes structure. Specifically, changing the indentation from one line to the next indicates that a block of code has begun or ended. Also, Haskell will not let you place the definitions for two functions one line after another. Instead it demands a blank line to indicate that the definition of a function has truly finished. This all enforces good style, and it greatly reduces the amount of junk syntax in the language, such as '{', '}', and ';'.
Thread over.
Name:
Anonymous2007-03-28 2:42 ID:SKkeG8Li
>>32
You can also use {} and ; and no indentation if you're still a semi-retarded Haskeller.
Name:
Anonymous2007-03-28 4:50 ID:bNqnRtrF
>>31
Not forced, you fail. Haskell's layout rules are optional. Python tried to rip this off but failed.
>>34
He does it speed up GHC compile times so it's okay.
Name:
Anonymous2007-03-29 9:26 ID:2pY0cz3G
If you need to care about your compiler/interpreter speed and you do so by stuffing shit in the same line, then Haskell fails sir. Spectrum age ended long ago.
Name:
Anonymous2007-03-29 10:27 ID:s6Plgy8j
>>35
He uses it everywhere. Ever read one of his papers?
Name:
Anonymous2007-03-30 1:48 ID:Sag+UVcf
bump
Name:
Anonymous2007-03-30 23:41 ID:RxF/48L6
One word, forced parenthesis around code. Thread over.