News for hackers. Stuff that matters.
Re:Why do dynamic languages make it more difficult to mainta... by fedesilva on Monday January 27, 2014 @02:51PM (#7132700)
Why did you have to write the same function again and again? I guess polymorphism would have helped, would it not? Not knowing too much c++ I can't really comment so I guess I am asking for a clarification.
Re:Why do dynamic languages make it more difficult to mainta... by rpedela on Monday January 27, 2014 @03:22PM (#7132936)
C does not have proper support for polymorphism. It can be simulated with structs in certain cases though. I can't remember a specific instance with C++ off the top of my head. It has been a several years since I touched it. Sorry.