Quote (rockonkenshin @ Mon, 28 Sep 2009, 16:28)
That's why I try to help. People who don't program professionally always have opinions like that (real programmers who program in OO langs don't use OO? What the fuck?) and I try to help people get rid of dumb programming opinions.
The few books I have on C++ have maybe four pages regarding object-oriented programming seeing as how incredibly 'new' it is (OOP goes far back into the '60s with SmallTalk, and other extremely popular languages of the time, especially relative to the time they were written.
It's only a paradigm, a way of doing things. There are benefits and down-sides to programming in an object-oriented way.
There are benefits to programming structurally programming, and there are also down-sides. I'm sure there are ways to duplicate how I wrote Pong in a pure OO way, or pure structural way.
If I wanted to use an object-oriented language (Java), I would've. But I didn't, because I don't like how it looks, and the logic behind it. I think in a procedural way.
The way I see classes - which is probably incorrect - is an easy way to make a blank 'template' for me to use. As the books describe it, it's a "Cookie cutter" thing.
You make what you need (in this case, a Paddle, and all the variables or "attributes" that go with it), and you use it as many times as you need.
In regards to that one highlighted part, I'll run down the defintions of the words (Webster's Dictionary (www.Dictionary.com)):
Quote
re⋅al1 [ree-uhl, reel] Show IPA
Use real in a Sentence
–adjective 1. true; not merely ostensible, nominal, or apparent: the real reason for an act.
2. existing or occurring as fact; actual rather than imaginary, ideal, or fictitious: a story taken from real life.
3. being an actual thing; having objective existence; not imaginary: The events you will see in the film are real and not just made up.
4. being actually such; not merely so-called: a real victory.
5. genuine; not counterfeit, artificial, or imitation; authentic: a real antique; a real diamond; real silk.
6. unfeigned or sincere: real sympathy; a real friend.
7. Informal. absolute; complete; utter: She's a real brain.
8. Philosophy. a. existent or pertaining to the existent as opposed to the nonexistent.
b. actual as opposed to possible or potential.
c. independent of experience as opposed to phenomenal or apparent.
9. (of money, income, or the like) measured in purchasing power rather than in nominal value: Inflation has driven income down in real terms, though nominal income appears to be higher.
10. Optics. (of an image) formed by the actual convergence of rays, as the image produced in a camera (opposed to virtual ).
11. Mathematics. a. of, pertaining to, or having the value of a real number.
b. using real numbers: real analysis; real vector space.
–adverb 12. Informal. very or extremely: You did a real nice job painting the house.
–noun 13. real number.
14. the real, a. something that actually exists, as a particular quantity.
b. reality in general.
The highlighted definition is the only thing I can think of that you meant by "real programmers," because
I am a programmer - I am
not however, a 'Professional' programmer.
I do it for a hobby. Just because you ride a bicycle to get from place A to place B, and it isn't "Professionally" done, doesn't make you a fake biker, or a "not real biker."
Just because you paint a house, and you aren't a "Professional painter" doesn't make it a fake, crappy, or otherwise "unreal" paint job.
I've never had any formal training, or education other than reading what professionals/teachers have written.
I've in-fact read quite a few books, read quite a lot of "tutorials" just to see how other people might learn, and I can see that some people have flaws and they get passed on through that method.
I've also used "real" programming forums. They're either extremely slow and have "real" answers, or it's a spam-fest of kids insulting each other like this (except in the case of GameDev/other forums, it's the mods. who are kids, and the posters are the real professionals who offer help, and if a mod disagrees with you, you get auto-banned with no questions asked).
This post was edited by Muted on Sep 28 2009 09:45pm