Author Topic: I'd like to learn programming.  (Read 3843 times)

0 Members and 1 Guest are viewing this topic.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: I'd like to learn programming.
« Reply #20 on: February 26, 2011, 12:06:47 am »
What's so special about OOP? It seems like everyone is gigged out about it.

Well, FWIW, I can't even being to think how I'd program ANYTHING I've done over the last decade without it.  Not gracefully, anyway...

OOP is just intuitive, and it fosters writing good, understandable code.

You're not a very good programmer nor well rounded if you rely on OOP for doing even trivial tasks. And in some cases OOP can lead to spaghetti code.

It isn't a cure all and it isn't the best tool for each job.

:P
There are other worlds than these

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: I'd like to learn programming.
« Reply #21 on: February 26, 2011, 03:59:45 am »
I like Java, but C is my pal nowadays.

Also OOP is really awesome and is usually a very good tool for most jobs, if done right. Learning and relying on OOP is not a bad thing.

Offline {LAW} Gamer_2k4

  • Flagrunner
  • ****
  • Posts: 560
  • To Wikipedia!
Re: I'd like to learn programming.
« Reply #22 on: February 26, 2011, 11:56:29 am »
You're not a very good programmer nor well rounded if you rely on OOP for doing even trivial tasks. And in some cases OOP can lead to spaghetti code.

It isn't a cure all and it isn't the best tool for each job.

:P

1) I don't DO trivial tasks. ;)
2) That's not what spaghetti code means.  Besides, OOP doesn't LEAD to spaghetti code; if you have the two together, the spaghetti code was there first.
« Last Edit: February 26, 2011, 11:59:56 am by {LAW} Gamer_2k4 »
Gamer_2k4

Only anime shows I've felt any interest in over the years are Pokemon (original TV series) and various hentai.
so clearly jgrp is a goddamn anime connoisseur. his opinion might as well be law here.

Best Admin: jrgp, he's like the forum mom and a pet dog rolled into one.

Offline thegrandmaster

  • Flagrunner
  • ****
  • Posts: 543
    • Grandy on Steam
Re: I'd like to learn programming.
« Reply #23 on: February 26, 2011, 12:06:11 pm »
As I said... arguments. Nuff' said gentlemen.
ohgodwhydidInamemyselfthis. Just call me Grandy.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: I'd like to learn programming.
« Reply #24 on: February 26, 2011, 12:28:58 pm »
1) I don't DO trivial tasks. ;)

Arrogance is bliss. :)

2) That's not what spaghetti code means.  Besides, OOP doesn't LEAD to spaghetti code; if you have the two together, the spaghetti code was there first.

Some people consider constantly jumping from file to file, to object to object, since they're all stringed together referring to each other spaghetti code: https://secure.wikimedia.org/wikipedia/en/wiki/Spaghetti_code#Spaghetti_with_meatballs

So yeah, if you insist on using objects for *everything*, leading to meatballish code is not out of the question.
There are other worlds than these

Offline ds dude

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 631
  • Lolicon Forever.
Re: I'd like to learn programming.
« Reply #25 on: February 26, 2011, 10:41:46 pm »
Arrogance is bliss. :)

You were one word off from a Matrix quote. :O

But umm, I'm learning python. I've been learning it for about a year and I can tell you, it's prety damn amazing. Very flexible, to say the least. You can script in it, and do object oriented programming. It work on linux which si great, because it's all I really use these days (I hate blue screens and all that shit Windows has to offer.)
This signature was borked. Now it is not.

Offline {LAW} Gamer_2k4

  • Flagrunner
  • ****
  • Posts: 560
  • To Wikipedia!
Re: I'd like to learn programming.
« Reply #26 on: February 27, 2011, 02:52:17 am »
Arrogance is bliss. :)

You were one word off from a Matrix quote. :O

If by "a Matrix quote" you meant "a pretty common saying," then yes. <_<
Gamer_2k4

Only anime shows I've felt any interest in over the years are Pokemon (original TV series) and various hentai.
so clearly jgrp is a goddamn anime connoisseur. his opinion might as well be law here.

Best Admin: jrgp, he's like the forum mom and a pet dog rolled into one.

DarkCrusade

  • Guest
Re: I'd like to learn programming.
« Reply #27 on: February 27, 2011, 03:40:05 am »
You can script in it

You can actually write scripts using a programming language??

Offline jettlarue

  • Flagrunner
  • ****
  • Posts: 724
Re: I'd like to learn programming.
« Reply #28 on: February 28, 2011, 05:31:10 am »
What he probably meant, is the ability for python to evaluate scripts on-the-fly, as that is what I am using embedded python (jython) for right now. Scripting is different than programming under most definitions. An example of this might be:

1 Some python code
2 some python code that loads a python script
3 some python code that manages and moves data to produce the preferred environment for running the script
4 some python code that interacts with that python script
5 some python code to choose whether to create more python code or to do something else

If ds dude meant something else, then my apologies. I am not very familiar with python, having used it only sparingly and only starting the delve.