145 reputation
9
bio website
location
age
visits member for 2 years, 9 months
seen 2 days ago

I studied microelectronic on the University which was more focused to embedded development. Micro-controllers, assembler, C, or with embedded Linux OS version. Then my career line slightly changed when I started to work in my second company where I focused more on Java development, object oriented design and python scripting.

I like to study and understand all details of languages I use. Also I like to work in team, share information with colleagues, prepare workshops and help to improve cooperation and communication.


Sep
24
awarded  Autobiographer
Apr
10
awarded  Popular Question
Apr
10
asked Does agile approach support taking a task from a team?
Aug
23
comment Algorithm to pick user
Very nice solution, the sum of ranks can be stored in a static variable and easily change by adding/deleting/updating of user. There can be also the 'running total of ranks' for every user to make finding the user faster (just half-interval section to find the 'running total of ranks' >= random number). This 'running total of ranks' must be updated only by deleting or updating of user
Aug
14
awarded  Teacher
Aug
14
answered Is it better to have one method that takes a bool as a parameter or two methods with different names?
Mar
6
awarded  Peer Pressure
Mar
4
awarded  Editor
Feb
25
accepted Validation of the input parameter in caller: code duplication?
Feb
22
awarded  Commentator
Feb
22
comment Validation of the input parameter in caller: code duplication?
Thanks for very nice answer with example. I like the point of "defensive" and "strict contract" approaches.
Feb
22
comment Validation of the input parameter in caller: code duplication?
Thanks for answer. The sqrt() was just an example, the same behavior with input parameter can be used by many others functions. "if the function is updated in such way that will affect the validation of the parameter, you have to search for every occurrence of the caller validation" - I don't agree with this. We can then say the same for return value: if the function is updated in such way that will affect the return value, you have to correct every caller... I think function has to have one well defined task to do... Otherwise the change in caller is necessary anyway.
Feb
22
comment Validation of the input parameter in caller: code duplication?
Thanks for answer. So you think, that function should check both valid and invalid input parameters in every case. Something different from the Pragmatic Programmer book affirmation:"validation of input parameter is responsibility of caller". It is nice thought "The function should know what is considered valid...Callers may not know this"... So you don't like to use pre-conditions?
Feb
22
comment Validation of the input parameter in caller: code duplication?
Thanks for your answer. Can you, please, give the link to Guava style recommendation? I can't google and find out what have you meant by it. +1 for validation the boundaries.
Feb
22
comment Validation of the input parameter in caller: code duplication?
+1 Thanks for answer. Nice reflection: "The check in the callee results in code duplication and lots of unneeded work being done". And in the sentence: "In most cases, no explicit tests are needed because the internal logic and the pre-conditions of the caller already ensure" - what do you mean with expression "internal logic"? The DBC functionality?
Feb
20
asked Validation of the input parameter in caller: code duplication?
Oct
19
awarded  Scholar
Oct
19
accepted Effective handling of variables in non-object oriented programming
Oct
17
comment Effective handling of variables in non-object oriented programming
@jfrankcarr - very interesting, I'll look at it sure!
Oct
17
comment Effective handling of variables in non-object oriented programming
@Andrea - I absolutely agree with you :) Don't use those languages.. But sometimes, you know, embedded stuff - management decide for developing in shell, not C.. not nice programming.. Maybe the best solution is struct, which won't help me now and maybe the nice solution does not exist in my case. Thanks