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 21:01

>>45
Well all I know is that a partially observable environment appears non-deterministic to any agents inside it. Thus, the possibility that that environment might be deterministic is irrelevant to those agents, because they can't act upon it. They are stuck with treating their environment as non-deterministic, so they might as well call it non-deterministic. Are you sure this isn't what physicists mean?

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