Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.77 KB | None | 0 0
  1. (18:29:59) jstoker@limun.org/Hera: woo
  2. (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
  3. (18:30:19) Alexander Boyd: Tell me what you think, and feel free to change stuff
  4. (18:30:22) jstoker@limun.org/Hera: yay
  5. (18:30:43) jstoker@limun.org/Hera: Just finishing a sqline, and then i'll get on it. :)
  6. (18:30:48) Alexander Boyd: k :)
  7. (18:31:06) Alexander Boyd: Fact is now object-oriented
  8. (18:31:36) Alexander Boyd: Fact is now object-oriented
  9. (18:31:37) jstoker@limun.org/Hera: ...
  10. (18:31:38) jstoker@limun.org/Hera: :D
  11. (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:
  12. (18:31:40) Alexander Boyd: some_class = {<@class, @name="some_class", name>
  13.    this.name = name;
  14.    this.get_name = {<@method>
  15.        this.name
  16.    };
  17.    this.set_name = {<@method, name>
  18.        this.name = name
  19.    };
  20. }
  21.  
  22. (18:31:41) Alexander Boyd: Only, that has to be used in syntax mode
  23. (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:
  24. (18:31:42) Alexander Boyd: some_class = {<@class, @name="some_class", name>
  25.     this.name = name;
  26.     this.get_name = {<@method>
  27.         this.name
  28.     };
  29.     this.set_name = {<@method, name>
  30.         this.name = name
  31.     };
  32. }
  33.  
  34. (18:31:42) Alexander Boyd: Only, that has to be used in syntax mode
  35. (18:31:46) jstoker@limun.org/Hera: oww
  36. (18:31:47) jstoker@limun.org/Hera: oww
  37. (18:32:10) ***jstoker@limun.org/Hera notes you've repeated twice.
  38. (18:32:15) Alexander Boyd: wait
  39. (18:32:19) Alexander Boyd: Did you get when I just sent "what?"?
  40. (18:32:20) Alexander Boyd: what?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement