This account is temporarily suspended network-wide. The suspension period ends on May 11 '24 at 18:00.
Reputation
Top tag
Next privilege 5 Rep.
Participate in meta
Badges
4
Impact
~470 people reached

  • 0 posts edited
  • 0 helpful flags
  • 16 votes cast
Sep
24
awarded  Autobiographer
Jul
12
comment What does mathematics have to do with programming?
That is why they are so sure (you mock this belief out in your answer) that DRY does not exist outside the field, though it is universal principle of any truth/beauty/efficiency, aka Occam's Razor. I am tired of programmer stupidity and math arrogance.
Jul
12
comment What does mathematics have to do with programming?
Well, I like to see that things are identical essentially, at the abstract level. Yet, I am punished for that thinking. Mathematicians say that programming functions are not pure and just punish me when I ask to clarify the difference between single num and single-entry vector, math.stackexchange.com/questions/384927. They say that there is not single notion of vector, e.g. programmers forbid to think about objects as collectins of fields which identifies them with DB records and dynamical system state vectors.
Jul
12
comment What does mathematics have to do with programming?
Donald Knuth. Mathematicians think that he is a programmer, programmers think that he is a matematician. He, therefore, must connect these two fields.
Sep
25
comment Why is “tight coupling between functions and data” bad?
Coupled with the fact that inheritance is evil (you must contain rather than extend) and there is no advantage in replacing conditionals with polymorphism, we can conclude that OOP is meaningles from very beginning, valjok.blogspot.com/2013/01/…
Sep
2
comment Be liberal in what you accept… or not?
How showing some case does not show that case?
Sep
2
comment Be liberal in what you accept… or not?
I wonder what is the difference between HTML and general data? The robustness principle is about communication. One writes - one reads. Why network communication is different than visual or API? I have an API example where the principle of being liberal at what we accept simplifies the life of users who are programmers, reduces the code size and, therefore, improves performances + eliminates bugs. Look stackoverflow.com/questions/18576849
Sep
2
comment Be liberal in what you accept… or not?
You are saying that fail-fast, which is opposite of "robust" is more efficient.
Aug
1
comment Why must a constructor's call to the superconstructor be the first call?
Can you elaborate? What makes deferred super initialization acceptable in Delphi that breaks in Java? If you've realized something important, it might be a good answer.
Aug
1
comment Why must a constructor's call to the superconstructor be the first call?
It was tagget 'Java' to discuss the restriction we see in that language, not to prohibit comparison with other OOP implementations.
Jul
31
comment Why must a constructor's call to the superconstructor be the first call?
You cannot create an instance of fruit before apple. You first create apple and it happens to be a fruit. In reality fruit does not exist alone, without apple. Changing fruits -> apes does not change this. Even the magic spelling IS A will not do it for you. Secondly, store2 IS NOT A store1. So, your theory of construction seems natural for an OOD practitioner, but is incompatible with reality. The fact that you have to use wrong analogy to support it just proves that.
Jul
31
comment Why must a constructor's call to the superconstructor be the first call?
If language is never wrong then having superconstructor first is as good/bad as not doing it?
Jul
31
comment Why must a constructor's call to the superconstructor be the first call?
Indeed, I ask this question because I am not great at OOD. But, those who defend the superconstructor produce logic like this, programmers.stackexchange.com/a/206657/63834 They say that vegetable must be built before cucumber because cucumber IS A vegetable and, similarly, 2nd floor is related with the 1st one! This nonsense makes me to think that learning perfect OO design destroys people minds. How do you prove that student's feeling that lang is wrong means that student is stupid? How do you prove that lang is wrong? By praising it first?
Jul
31
comment Why must a constructor's call to the superconstructor be the first call?
I say nothing about super(). I start with case where method A and B are called on initialized object. The workflow demands A first. You mistakenly call B first and break something in the object. Will this break the object? Could wrong order of calls break an initialized objects? Object constantly evolves. How can you say that it is completely initialized? Could wrong order of method invocations break the initialized object?
Jul
31
comment Why must a constructor's call to the superconstructor be the first call?
Do I break the supreclass if call first method_B then method_A whereas it required method_A then method_B? Could I brake it?
Jul
31
comment Why must a constructor's call to the superconstructor be the first call?
Ok, you say "do not call inherited methods before super is initialized". But, requirement for super() be the first is different. It says that I cannot initialize my own, newly introduced fields before calling the super(). Do you feel the difference? Secondly, your database may fail if the order of method calls is wrong. Preinitializing the parent object does not save from that. Right? The super object designer must specify the proper order of calls, including super(). That is why I say that super-first does not add anything. I do not see how your answer addresses these issues.
Jul
31
comment Why must a constructor's call to the superconstructor be the first call?
His link goes to the question. I do not understand which answer you are talking about!? Secondly, stop recommending another language. Start telling which language is better and why. This begs for answering if superconstructor must be the first. Recomming C# does not answer this question. It is a kind of diverting from the question.
Jul
31
asked Why must a constructor's call to the superconstructor be the first call?
Jan
24
awarded  Commentator
Jan
24
comment Who are the outspoken critics of Object-Oriented design?
I wonder how it can be that all programmers on one hand admire OOP and dismiss it when say "composition over inheritance" on the other: valjok.blogspot.com/2013/01/…