509 reputation
28
bio website honzabrabec.cz
location
age 22
visits member for 1 year, 8 months
seen 13 hours ago

Student of Computer Science at Czech Technical University.

In software development since 2001.

I love programming and mathematics (in that order).


Feb
25
answered Apple eating problem
Feb
25
comment Apple eating problem
I don't find this answer helpful. Giving a link to "graph theory" is like giving a link to "programming".
Dec
9
answered Contract Based Programming vs Unit Test
Nov
26
comment Should a class know about its subclasses?
I don't think it is an exception. The class still doesn't know anything. The documentation knows.
Aug
19
accepted Is it good practice to create convenience delegate methods?
Aug
19
comment Is it good practice to create convenience delegate methods?
... but I admit I've asked the question with the interest to the general case and for that you have replied well, so +1
Aug
19
comment Is it good practice to create convenience delegate methods?
I do not want to build the general JsonSerializer because I will not need it. I know that I need to serialize just this one concrete class in my project. I also don't like the DI in this case. If I would have already exposed the _CorpusJsonSerializer I would probably abandon the convenience method completely because then it would have not enough added value. I was just trying to isolate the serialization behaviour from the Corpus so the class isn't too large. Do you find the circular dependency bad even in this concrete case where one of the classes is in the same module and is private? ...
Aug
19
awarded  Student
Aug
19
asked Is it good practice to create convenience delegate methods?
Aug
19
answered Is it poor practice to call methods through multiple objects?
Aug
19
awarded  Enthusiast
Aug
5
awarded  Critic
Aug
5
comment Do pointers really exist in Java?
@MichaelBorgwardt Pointers were invented before C existed and the term really isn't C specific but as it is used it always has some connection to memory addresses. Just use the term 'reference' when talking about this concept in Java there are too many differences.
Aug
1
comment Clarification of “avoid if-else” advice
So you just put the negated condition into the else if? That doesn't seem too DRY to me. And there is also the risk that if you change the condition you forget to change the negated one. I do not like it.
Jul
31
comment Pure C Vector Implementation
You could also add something about spatial locality to your list :) I don't want to write it in a separate answer but I think it should be mentioned.
Jul
30
awarded  Yearling
Jul
29
comment Does modular programming affect computation time?
While I agree that most of the time it is premature optimization, I think that your argument with the time is bad. Time is relative in different situations and you can't simply calculate like you did.
Jul
23
awarded  Nice Answer
Jul
23
answered What should I do if I don't have any formal spec?
Jul
23
awarded  Commentator