729 reputation
519
bio website loki2302.me
location Voronezh, Russia
age 28
visits member for 2 years, 11 months
seen Jul 2 at 10:27

Available for hire.


Jul
2
awarded  Curious
Feb
24
awarded  Autobiographer
Oct
23
awarded  Popular Question
Aug
8
awarded  Nice Question
Jul
19
awarded  Yearling
Jun
5
comment How my website should use its own API?
Slightly offtopic: If you're trying to build a sort of "single page web application" (where all the data comes through API calls and all the pages are rendered on client side using retrieved data), Google won't be able to index this part of your website, so you'd better think twice.
Feb
26
awarded  Caucus
Jul
24
comment Django development best practices
Migrations are only simple and reliable when changes are primitive.
Jul
21
comment Using empty subclasses to add to the semantics of a class hierarchy?
this worths reading - pragprog.com/articles/tell-dont-ask
Jul
19
awarded  Yearling
Jul
18
comment Using empty subclasses to add to the semantics of a class hierarchy?
en.wikipedia.org/wiki/Liskov_substitution_principle
Jul
17
comment Using empty subclasses to add to the semantics of a class hierarchy?
In OOP there's no obvious boundary between data and behavior: objects communicate with messages, so whenever you say person.getName(), it can't be considered data access. You'll never know whether getName() is just return name or is it not that straightforward ORM call.
Jul
17
comment Using empty subclasses to add to the semantics of a class hierarchy?
Your answer is pretty generic - you have also covered polymorphism since it also can be considered "encoding information to the type system".
Jul
17
comment Using empty subclasses to add to the semantics of a class hierarchy?
You don't normally need to extract that information. If you really need to, it feels like there are some problems with your design. Code like if(a instanceof X) method() can always be refactored to a.method() without need to get exact type of a.
Jul
17
answered Using empty subclasses to add to the semantics of a class hierarchy?
Jul
16
accepted What is a normal “functional lines of code” to “test lines of code” ratio?
Jul
15
comment What is a normal “functional lines of code” to “test lines of code” ratio?
Guys, why do you comment instead of posting answers? What you write makes sense.
Jul
15
asked What is a normal “functional lines of code” to “test lines of code” ratio?
Jul
13
accepted Composition vs. Inheritance
Jul
12
awarded  Commentator