by hospitalJail · 3y ago · 0 comments
Then one day I had a problem where we got a lot of value out of a class. At this point I was a professional programmer, I had already made plenty of websites and apps.
When I teach people programming, I basically make this simplification so people can get programming cool stuff immediately. Of course I explain there is OOP, but we don't waste time on it. You don't need to understand it to make a text based video game.
EDIT: I started programming when I was 17, I didn't start a programming career until I was 30. I only dabbled as a hobby.
Wow thats usually the amount of time it would take to become an expert in a completely new field.
Started learning programming in high school. Went to college for engineering. Worked in (real) engineering for 8 years.
Now I automate engineering jobs.
I know you know, but it even took me a long time to get the utility.
You would use classes if you have a category of something with similar attributes that you would want to do various manipulations on and get various outputs.
My next sentence was going to be an example about a car and calculating the number of seats. Its a shame how quickly I need to move to a real world example, but when talking to a programming noob, I feel bad for saying the word attribute/class/method.
I feel less bad about functions, they should know this stuff from 8th grade.