Comments on Profile Post by TheoAllen

  1. ??????
    ??????
    Proc is a useful lil fker :p
    Jan 28, 2015
  2. ??????
    ??????
    You should get some stabby lambda's in amongst things !! ;)
    Jan 28, 2015
  3. TheoAllen
    TheoAllen
    Yeah, I started to love them :3
    Jan 28, 2015
  4. ??????
    ??????
    Do take longer to call though, so its not an efficiency thing :'(
    Jan 28, 2015
  5. TheoAllen
    TheoAllen
    If it's longer, I would prefer to add new method. But if it just a simple code, I would use anonymous proc/lamba instead lol
    Jan 28, 2015
  6. ??????
    ??????
    Oh for sure, completely agree on that.


    One of my recent scripts for cheat codes makes excellent use of procs (creating procs to pass to @sprtes.each(&proc) for example)..


    In case your curious...


    https://github.com/Dekita/Dekyde-Ace/blob/master/Input/CheatCodes.rb


    But yea, totally, procs for the win! If it has an efficiency level even close to a regular method i would convert half my scripts into various procs and structs :D
    Jan 28, 2015