2,030 reputation
618
bio website blog.herby.sk
location Slovakia
age 40
visits member for 3 years, 6 months
seen 11 hours ago

Garbage-collecting duck-typer. Test-infected. Hopefully he is not alone who would like UNIX rewritten with GC memory and closure support in system, kernel API in Javascript, (Python, Ruby, Smalltalk), and C layer deprecated and emulated on top of the former.

I use Windows on workstation and FreeBSD on server.

Recently dipped myself into the mobile app world.


Feb
25
comment How to unit test correct implementation of an interface is used?
I don't have the problem of "not importing the mocks". I have the problem of "test that the thing instantiated is the right one". Especially in the duck-typing world. So when there is some this.foo = new Bar(this.baz, this.quux) somewhere in the glue code, how to sanely test the this.foo is actually the good object implementing all the behaviour that is wanted, initialized properly, etc.
Feb
25
comment How to unit test correct implementation of an interface is used?
@Doval I don't understand.
Feb
25
awarded  Student
Feb
25
asked How to unit test correct implementation of an interface is used?
Feb
3
answered What to use instead of IDs in selectors in CSS
Jan
7
revised Lower and Upper bound of an algorithm
typo in title
Jan
7
suggested approved edit on Lower and Upper bound of an algorithm
Dec
20
revised Why is Win32 API's WM_MOVE being called while dragging the window?
Question is not about C++, the WM_MSGNAME constants are used in other SDKs for Windows development as well
Dec
19
suggested approved edit on Why is Win32 API's WM_MOVE being called while dragging the window?
Dec
19
suggested rejected edit on Why is Win32 API's WM_MOVE being called while dragging the window?
Dec
19
revised Why is Win32 API's WM_MOVE being called while dragging the window?
added 57 characters in body
Dec
19
answered Why is Win32 API's WM_MOVE being called while dragging the window?
Nov
20
awarded  Yearling
Mar
19
answered Optimistic & Pessimistic Programming - Ensuring multiple tasks are called only once for specific record
Jan
31
answered How do I explain a ruby method with a real-world analogy?
Jan
27
answered How do you get developers to want to write good code they can be proud of?
Jan
25
answered Mapping 40 unique integers to 41 and back
Jan
24
awarded  Citizen Patrol
Jan
17
comment Visitor Pattern still useful in languages supporting class extensions?
GoF book says nothing about traversal. The fact is, most uses of Visitor pattern are traversals (including my example of Pharo's AST-Core).
Jan
17
revised Visitor Pattern still useful in languages supporting class extensions?
added 1 characters in body