28
obenn
8y

As a self taught C programmer starting comp sci in University, WTF is all this object oriented-ness. Constructors, parents, children, inheritance, polymorphism... I feel like more like an anthropologist than a programmer.

(But really, I get why it's better. Just so hard to learn)

Comments
  • 1
    I know how you feel. I self taught programming as well. It's taking me a while to link the theories to practical.
  • 2
    @Xerev Best practices too right? Like holy cow the amount of commenting expected....
  • 3
    I kinda envy that C is your proficient language. IMHO it's easier to transit from lower to higher level language. My recent assignment is to write a shell program in C but the amount of ********* is giving me headache. But I still enjoy a lot talking to my computer in C! It's so much fun compare to OOP language!
  • 1
    And then after learning OOP at university you stumble upon a long forum thread about how Java and other mainstream OOP languages are quite far from the original OOP and a lot of folks says that Java should not be even categorized as an OOP language. 😱 (I had a hard believing that since I had only experience with Java and C#.)
  • 1
    OOP is really important part and I had best grades from it (better than WinApi or Algorithms and Data Structures) I am on fourth semester of CS at University right now so Java and even more OOP coming soon 😂😂
  • 0
    What on earth did you self teach yourself before university? Those things you listed are the basics/foundations of modern programming. Also why did you chose C? Just curious.
  • 2
    @JavaRules All I had was the book "The C programming language" by Brian Kernighan and Dennis Ritchie. So I read it cover to cover, that was my intro to programming.
  • 1
    @allofyou, (I know this won't work) hahaha, anyway I long to learn C, my first language was C++ and I really love the OOP paradigm it helps my code to stay cleaner, easier to understand and to implement.
  • 0
    It's really not that hard once you understand what all of it means but it's still a pain in the ass to implement OOP correctly.
  • 0
    @obenn have you looked at any serious data structures yet? That's what made me realise how powerful OOP is.
  • 0
    @JavaRules not yet, but I'm sure I will! I just want to clarify that I understand how amazing OOP is, it's just been the hardest thing to learn!
  • 0
    @monnef Any links or references? That sounds kind blowing!
  • 0
    @obenn Unfortunately the topic I am talking about is not in English. Take a look at Smalltalk and Alan Kay 😉. It's kinda sad that "current OOP languages" are so limited and at a same time are encouraging non-OOP approach (like getters and setters, logic outside of objects and so on) that I feel even father of OOP would never call them an OOP language, maybe hybrid OOP+structured language at best.
  • 0
    @Lisanna Sure one can, but the language itself is not an OOP one and writing using a paradigm that language isn't intended, designed and build for is IMO very bad choice of tools.
Add Comment