Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ITT we code in our own fictional languages.

Name: Anonymous 2008-08-23 20:31


func say($s) { echo $s, "\n"; }
class :open Thing {
    var :pub=r :priv=rw $thing;
    func :pub :pure hai() {
        return func () { say "Hai."; }
    }
    func :priv die() { die(); }
}
class :open Thing {
    func hai() {}
}
class :open String {
    func :pub :uses=$var makeAwesome() {
        $var = "Awesome!"; # Or somesuch.
    }
    func __toInt() {
        return 5;
    }
}
Thing::hai()();
(new String("Hai!") == "Hai")
say "Lol"->makeAwesome(); # "Awesome!"
say "Num" + 5; # "10"

Name: Anonymous 2008-08-25 17:35

But unability to measure doesn't deny existence or determination, much less determinism.
It doesn't confirm it either. Affirmation without proof is unscientific and ultimately destructive.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List