Although if everyone is patching the base then there are MAJOR problems. I think that if you are monkey-patching you should prefix your methods with something like the name of your codebaseI <3 being able to add new methods to classes in Ruby. It makes some things soo much easier.
Nope
-----------------------------------------------
Sent From Something That You Won't Care About Using Tapatalk 2
You are not the only one here
-----------------------------------------------
Sent From Something That You Won't Care About Using Tapatalk 2
Haha no. That is extending. TOTALLY differentYou can do that in Java too.
IKR, they are actually really goodHow are top-level functions bad?
TruthJava is incredibly verbose. I especially realized that today when making equals and hashCode methods.
That is a hack, it is not a core feature of the language.Bytecode manipulation.
Ick.Bytecode manipulation.
Also, it is ugly as traj expressed hereIck.
Bytecode is, but bytecode manipulation was never really intended from the start. If it was it would be a lot easier than it is. Hell, most people use a third-party library because bytecode manipulation is so annoyingI'm pretty sure bytecode is a part of Java
You are not the only one here
How so? Also, if you didn't read it you have no right to comment. As detailed in my rules (see siggy)Propaganda.
"By telling someone to think outside the box you are thinking inside the box"How so? Also, if you didn't read it you have no right to comment. As detailed in my rules (see siggy)
Which is why I recommended it.Ruby is still an amazing language.
What about thinking inside a chimney?"By telling someone to think outside the box you are thinking inside the box"
What a boxed in mentality you have there.