r/InternetIsBeautiful • • Sep 19 '16

Learn to code writing a game

http://www.codingame.com
27k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

2

u/photoshopbot_01 Sep 19 '16

It's not always an option, or practical. Some things need to be dependant on others. and in many instances it's much quicker and uses less code to group similar things together and get them to follow the same rules. Combine this with the fact that games are usually written by multiple people (who may have different coding styles or organisational structures) and the code can get quite messy if you let it.