Conversation

Notices

  1. @zeldatra Pulling back what we were talking about a few weeks ago, here is an environment that mimics the OOP in other languages by using functions in Javascript, so that you can hopefully use better OOP with the canvas: https://www.gnu.org/software/easejs/

    Friday, 08-Aug-14 16:04:38 UTC from web
    1. @loveydoe Thats awesome. Its funny because im so used to OOP languages i have issue with sequential scripts. I do everything in my power to make them OOP functional. PHP is good for that.

      Friday, 08-Aug-14 16:07:56 UTC from web
      1. @l1ghtsword I'm an imperative and functional fan, so I try my best to rid all classes and objects from code. We're opposites. :-)

        Friday, 08-Aug-14 16:10:25 UTC from web
        1. @loveydoe Really? Why? There is alot of benefit to objects in terms of functionality, efficiency and reuseability.

          Friday, 08-Aug-14 16:11:47 UTC from web
          1. @l1ghtsword I find that boiling code down to functions with few side-effects makes things cleaner. OOP is necessary sometimes, but in certain projects, like Synfig Studio, it is used too much. For example, there is a whole class for cosine, which mostly just contains code that runs cos, the actual function for cosine, but I think it was made into a class so that it can be grouped with similar functions into an array of Value Node functions. Places like that drive me away from OOP. But, holy wars have been fought over this very topic; OOP is a wonderful thing, especially to programmers who use it. I will stick with my functions and subroutines.

            Friday, 08-Aug-14 16:18:01 UTC from web
            1. @loveydoe Fair, yeah some people do go overboard.

              Friday, 08-Aug-14 16:23:41 UTC from web
    2. @loveydoe @mrmattimation

      Friday, 08-Aug-14 16:08:27 UTC from web
      1. @northernnarwhal @mrmattimation @zeldatra Oh, that's right. Thanks. Sorry, zeldatra, my message wasn't for you.

        Friday, 08-Aug-14 16:09:11 UTC from web
        1. @loveydoe same person, he just swaps names at random

          Friday, 08-Aug-14 16:09:30 UTC from web
          1. @thewaifutyphoon Very confusing! Thanks for all the help with this, guys.

            Friday, 08-Aug-14 16:09:52 UTC from web
            1. @loveydoe not a problem

              Friday, 08-Aug-14 16:10:11 UTC from web
        2. @loveydoe No no no, @mrmattimation IS @zeldatra

          Friday, 08-Aug-14 16:09:53 UTC from web