407 reputation
310
bio website
location Belgrade, Serbia
age
visits member for 3 years, 10 months
seen 33 mins ago

Aug
19
comment single for-loop runtime explanation problem
I always understood tilde to mean approximate, not proportional. Essentially, ~ is a shorthand for .
Aug
12
comment Is splitting up a function into several inner functions an anti-pattern?
This doesn't even attempt to answer the question at hand. The question is about inner functions, not splitting large functions/methods into multiple smaller ones.
Jul
26
comment Is immutability very worthwhile when there is no concurrency?
@Giorgio - that's the point!
Jul
18
comment Why is first column of list called 0th in so many languages?
@Zaph - not really. In those languages you have two different words for ground floor and non-ground floor. So the first floor would be "ground", and then the count of non-ground floor would regularly start from 1.
Apr
8
comment Ensure that each class has only one responsibility, why?
For the same reason you have classes AT ALL.
Mar
25
awarded  Yearling
Jan
15
comment Why are there so few comments in C/C++ code?
While I agree that bad code and bad comments should be eliminated, I still like Javadoc style of code. At least give one sentence simple description, tell me what input variables mean, what result the method can return, and what kind of an exception I can get. Since this style of comments integrates well with IDEs, I really find it indispensable.
Jan
14
comment Can we live without constructors?
All hail the mighty assembler!
Aug
21
comment When is it ok to use a Global variable
@sleske are you saying that namespace pollution is not an issue for you?
Aug
21
comment When is it ok to use a Global variable
@Cthulhu let me quote myself: "in those situations when you need something to have global access point".
Jul
4
comment Structure vs. programming
You are not supposed to follow it. If a method is called "changeUserName(string)", do you need to follow inside to see what it does? That is the point of short and well defined methods.
May
11
comment What skills are essential for professional programming that are not commonly taught in schools?
Yes, but that kind of a specialist is never going to open their own shop. If your dream is to be a CEO of your own startup sometime in the future, you will need a HUGE array of skills.
Apr
19
awarded  Notable Question
Jul
23
comment How do I locate Uncalled Functions?
It's wort to note that this will only work in compiled languages, and not interpreted ones like PHP. Also, it's impractical for any large project, as it could take you days to actually comment/uncomment all the methods, and check them.
Jun
30
awarded  Popular Question
May
11
comment Is it necessary to write a javadoc comment for EVERY parameter in a method's signature?
NetBeans and Eclipse will, too.
May
10
comment Should a senior developer refuse to take paper exams during an interview?
"It doesnt tell you about their judgement, or breadth of industry knowlege, or ability to handle angry customers, or ability to lead others." Well, written exam is hardly meant for that. Written exams are usually taken when there is a large number of applicants (like a 100+), and you simply need to weed out those who can't write a tree search or something similar. The interview where you ask "real" questions comes after that.
Mar
1
awarded  Nice Question
Feb
9
awarded  Yearling
Dec
5
comment How can I deal with the cargo-cult programming attitude?
@JeffK you can always remove parentheses, Wiki redirects properly. en.wikipedia.org/wiki/Karel_programming_language works fine.