Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (18:29:59) jstoker@limun.org/Hera: woo
- (18:30:10) Alexander Boyd: The notable change in this commit is that I just added the new spec I'm working on for Fact 3
- (18:30:19) Alexander Boyd: Tell me what you think, and feel free to change stuff
- (18:30:22) jstoker@limun.org/Hera: yay
- (18:30:43) jstoker@limun.org/Hera: Just finishing a sqline, and then i'll get on it. :)
- (18:30:48) Alexander Boyd: k :)
- (18:31:06) Alexander Boyd: Fact is now object-oriented
- (18:31:36) Alexander Boyd: Fact is now object-oriented
- (18:31:37) jstoker@limun.org/Hera: ...
- (18:31:38) jstoker@limun.org/Hera: :D
- (18:31:39) Alexander Boyd: well, object-based more like. It doesn't support a direct concept of classes, but you can do one similar to how you do it in JS like:
- (18:31:40) Alexander Boyd: some_class = {<@class, @name="some_class", name>
- this.name = name;
- this.get_name = {<@method>
- this.name
- };
- this.set_name = {<@method, name>
- this.name = name
- };
- }
- (18:31:41) Alexander Boyd: Only, that has to be used in syntax mode
- (18:31:42) Alexander Boyd: well, object-based more like. It doesn't support a direct concept of classes, but you can do one similar to how you do it in JS like:
- (18:31:42) Alexander Boyd: some_class = {<@class, @name="some_class", name>
- this.name = name;
- this.get_name = {<@method>
- this.name
- };
- this.set_name = {<@method, name>
- this.name = name
- };
- }
- (18:31:42) Alexander Boyd: Only, that has to be used in syntax mode
- (18:31:46) jstoker@limun.org/Hera: oww
- (18:31:47) jstoker@limun.org/Hera: oww
- (18:32:10) ***jstoker@limun.org/Hera notes you've repeated twice.
- (18:32:15) Alexander Boyd: wait
- (18:32:19) Alexander Boyd: Did you get when I just sent "what?"?
- (18:32:20) Alexander Boyd: what?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement