524 reputation
310
bio website honzabrabec.cz
location
age 22
visits member for 2 years, 4 months
seen 19 hours ago

Student of Computer Science at Czech Technical University in Prague.

In software development since 2001.

I love programming and mathematics.


Oct
19
awarded  Citizen Patrol
Sep
24
awarded  Autobiographer
Sep
20
answered Which design pattern for a single class accessing an object representing a data structure?
Aug
20
answered When is type testing OK?
Jul
30
awarded  Yearling
Jul
26
answered Showing the structure of the program (menu) as a tree - does it a have name?
Jul
7
revised Is reading+modifying existing code better than making your own?
Question title was edited and the first sentence in this answer became a bit misleading.
Jul
7
suggested suggested edit on Is reading+modifying existing code better than making your own?
May
29
comment What is a real-world use case of using a Chomsky Type-I (context-sensitive) grammar
@MattFenwick I think your XML example doesn't show the true reason why XML is not context-free. The reason is that arbitrary tag names are allowed. If only a specific set of tags was allowed XML would be context free.
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