23 karma · joined Feb 2, 2016 (10y ago) · 10 submissions
comment 8y ago · link · parent
1. A function with a few thousand lines of code, accepting dozens of parameter. The body is made up of some nested switch-case and if-else.
2. Instead of using constructors, every class has a static method that does nothing but initialize itself.
3. A class which queries DB and generate HTML, with nearly a hundred public variable. A few levels of sub classes with functions to update those variables.
When a piece of code is not obvious in what it's doing, I'll call it unreadable. In some cases this is acceptable, for example in some clever algorithm (https://en.wikipedia.org/wiki/Fast_inverse_square_root), but it is still what it is, unreadable.
comment 9y ago · link · parent
> https://www.youtube.com/watch?v=7Yh-zFCILR4
> https://youtu.be/OMENy0ptoyM?t=48s
Their previous game "Enslaved: Odyssey to the West" also had pretty good facial animation. Especially when compared with contemporary AAA titles like Mass Effect.