r/programming • • Apr 29 '14

Programming Sucks

http://stilldrinking.org/programming-sucks
3.9k Upvotes

1.1k comments sorted by

View all comments

Show parent comment

0

u/[deleted] Apr 30 '14

[deleted] — view deleted comment

1

u/HostisHumaniGeneris Apr 30 '14

I've only used Ruby for a short while, but the mixin style seems really toxic to understanding where a declaration was made.

For example: I'm looking at someone's sourcecode and I see some reference to "foo". What is foo? Is it a variable? Is it a function? Where was it declared? I don't see any other reference to "foo" in this file I'm in, so it must be in one of the included modules. Inevitably I've found myself having to search through all the included modules source trying to figure out where "foo" came from and what it is.

Maybe there's something I'm missing here.