Weirdest Practical Programming Language

it might not work with java 7, because it is no “documented” feature.
there is also a way of using a “feature” of windows, to print to the commandline when compiling a specialy prepared class

only works on windows: name the file A.class


class Con { String hi = "\n\nHello World\n\n"; }

IMHO the weirdness is that there are so many experts in something that’s so fundamentally broken.

[quote=“princec,post:38,topic:41201”]

Best read ever. Thank You, kind sir. Here, an appreciation cookie.
Edit: sry for the necro :confused: I’m a late bloomer and reading through old threads.

Look up LOLCODE on wikipedia, probably the funniest one I’ve seen, and I’ve actually used it before.

[quote=“princec,post:38,topic:41201”]

Best read ever. Thank You, kind sir. Here, an appreciation cookie.
Edit: sry for the necro :confused: I’m a late bloomer and reading through old threads.

Look up LOLCODE on wikipedia, probably the funniest one I’ve seen, and I’ve actually used it before.

[quote=“xsvenson”]

Its not a necro when the thread is as young as this, and I missed it and now I got to enjoy that epic read so thanks for that.

I’ve done some PHP myself in the past, only back then I was simply too inexperienced to put my finger on why it sucked. All I knew was that I was so darned unproductive with it and it was hard to create something interesting that was not slow. That’s not to say that I was more productive when I switched to working with servlets & JSPs on Tomcat 4 at the time, but at least I had the sane Java JDK and virtual machine to back me up. Java has been my best friend since, as long as you stay away from applets of course.

I also did some Ruby on Rails which I am marginally impressed with, but it is so flexible it scares me. Any platform that allows you to add methods to a specific object INSTANCE is mad in my opinion. Great for runtime instrumentation in frameworks, but it is available for anyone to do it.

[quote=“xsvenson,post:43,topic:41201”]

Its not a necro when the thread is as young as this, and I missed it and now I got to enjoy that epic read so thanks for that.

I’ve done some PHP myself in the past, only back then I was simply too inexperienced to put my finger on why it sucked. All I knew was that I was so darned unproductive with it and it was hard to create something interesting that was not slow. That’s not to say that I was more productive when I switched to working with servlets & JSPs on Tomcat 4 at the time, but at least I had the sane Java JDK and virtual machine to back me up. Java has been my best friend since, as long as you stay away from applets of course.

I also did some Ruby on Rails which I am marginally impressed with, but it is so flexible it scares me. Any platform that allows you to add methods to a specific object INSTANCE is mad in my opinion. Great for runtime instrumentation in frameworks, but it is available for anyone to do it.

Mhm… I want that feature in scala…

I find Esterel and OCaml very weird, like their creators chose to disturb developers with their syntaxes.

Mhm… I want that feature in scala…

I find Esterel and OCaml very weird, like their creators chose to disturb developers with their syntaxes.

LOLCODE:


HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

LOLCODE:


HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

Hmm. The LOLCODE example makes complete sense to me.

How 'bout I make that harder for you.


 HAI
 CAN HAS STDIO?
 PLZ OPEN FILE "LOLCATS.TXT"?
     AWSUM THX
         VISIBLE FILE
     O NOES
         INVISIBLE "ERRROR!"
 KTHXBYE


HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
   UP VAR!!1
   VISIBLE VAR
   IZ VAR BIGGER THAN 10? KTHX
IM OUTTA YR LOOP
KTHXBYE

Wow never seen LOLCODE before.

Strangely it is quite readable, I guess it prints 1 to 10?

Amazing! :slight_smile:

1-11 I think. The >10 check happens after the increment and print.

It seems like it checks to see if the variable is greater than 10, then it gets out of the method.

Hmm. The LOLCODE example makes complete sense to me.