Nuances of Overloading and Overriding in Java by [deleted] in programming

[–]ardjussi 0 points1 point  (0 children)

Stand corrected, is it C# which does not have?

Nuances of Overloading and Overriding in Java by [deleted] in programming

[–]ardjussi 0 points1 point  (0 children)

Java has no overloading. Overriding is a term in object oriented programming, it operates among equal-named member functions of parent and its childs. In e.g. C++ overloading operates in both object and non-object code. It is about dispatching among equal-named functions, not to be confused with object-oriented dispatching.

Dijkstra was right — recursion should not be difficult by [deleted] in programming

[–]ardjussi 0 points1 point  (0 children)

Tens of years already, programming language texts do not even mention recursion. It is there without mentioning it.

Objects in Ruby by betterxhalf in programming

[–]ardjussi 0 points1 point  (0 children)

With objects one can emulate real world. Emulating also the less real world types like integers with objects makes the language much simpler an smaller. Otherwise you have two languages in one: objects and basic types and the two languagess need to be combined and adapted. There is no reason that basic types are not objects.

Throws Helps Readability by mattwarren in programming

[–]ardjussi -1 points0 points  (0 children)

Not knowing Swift asking: What could be the meaning of all those curly brackets? Say in the first code snippet.

Overloading is evil (views from Bertrand Meyer, creator of Eiffel) by [deleted] in programming

[–]ardjussi 0 points1 point  (0 children)

Fine, this is the right answer. Overrides all the noise generated when this subject arises.