Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 222 223 [224] 225 226 ... 796

Author Topic: if self.isCoder(): post() #Programming Thread  (Read 907379 times)

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3345 on: November 01, 2012, 09:23:15 am »

Wow, alway, that's some nice stuff.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3346 on: November 01, 2012, 09:27:56 am »

What would you guys recommend as a good programming language to learn (the general tenets of) object-oriented programming?

Skyrunner

  • Bay Watcher
  • ?!?!
    • View Profile
    • Portfolio
Re: if self.isCoder(): post() #Programming Thread
« Reply #3347 on: November 01, 2012, 09:30:19 am »

They say Python is an easy introduction to modern programming.
Logged

bay12 lower boards IRC:irc.darkmyst.org @ #bay12lb
"Oh, they never lie. They dissemble, evade, prevaricate, confoud, confuse, distract, obscure, subtly misrepresent and willfully misunderstand with what often appears to be a positively gleeful relish ... but they never lie" -- Look To Windward

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3348 on: November 01, 2012, 09:44:09 am »

I think Ruby is easier, honestly. Especially for learning OO stuff - it is an object/message language, so OO is at it's core, and the syntax is consistent and easy enough to learn.

Python isn't bad though.
Logged

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3349 on: November 01, 2012, 10:56:38 am »

Ruby also has a strange habit of just working.  Sometimes I just smash my face into the keyboard a few times and it just happens to have produce whatever I happen to need at the time.
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

MadocComadrin

  • Bay Watcher
  • A mysterious laboratory goblin!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3350 on: November 01, 2012, 12:57:19 pm »

Java tends to be taught in the university setting to teach OOP.

Edit: and I'd stay away from anything that doesn't have strict encapsulation until you have a solid understanding of OOP. (So no Python) It takes away the temptation to do something not OO.
« Last Edit: November 01, 2012, 01:03:27 pm by MadocComadrin »
Logged

darkrider2

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3351 on: November 01, 2012, 01:06:18 pm »

I just started my Computer Science major this semester. Its a start, but it will still be a while till I'm programming dwarf fortress XII: dwarves in space or anything.

We're using C++ btw, my friend got stuck in "intro to CS" and they have to use python for some reason.
Logged

MadocComadrin

  • Bay Watcher
  • A mysterious laboratory goblin!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3352 on: November 01, 2012, 01:08:24 pm »

They're probably using it because it's easier to pick up for a person who would take Intro to CS as a general education credit or a non-major elective.
Logged

darkrider2

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3353 on: November 01, 2012, 01:10:16 pm »

Huh, I don't know C++ doesn't really feel too hard to learn, though maybe we're not deep enough in yet.
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3354 on: November 01, 2012, 01:25:59 pm »

Java is taught because its one of easiest to teach on an administrative decision making level, not because it's the best to learn.
Logged

MadocComadrin

  • Bay Watcher
  • A mysterious laboratory goblin!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3355 on: November 01, 2012, 01:31:39 pm »

Huh, I don't know C++ doesn't really feel too hard to learn, though maybe we're not deep enough in yet.
Think about variables: a relatively simple CS concept. Do you understand them well? Most likely yes. However, many people in the intro class will have a hard time with them. Intro classes tend to cover very basic programming concepts. Most CS majors will either already know these or pick them up with little effort, while non-CS majors or CS majors extremely new to CS might not.

Java is taught because its one of easiest to teach on an administrative decision making level, not because it's the best to learn.
Never said it was.  ;)
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3356 on: November 01, 2012, 01:40:23 pm »

Never said it was.  ;)

I know, just wanted to clarify before there were any misunderstandings. Having looked into it, Java is actually still a REALLY great choice for Universities to choose as their intro languages - but many of the reasons don't apply on a personal level, for someone wanting to learn, so I wanted to make sure that was understood. :P

Huh, I don't know C++ doesn't really feel too hard to learn, though maybe we're not deep enough in yet.
Think about variables: a relatively simple CS concept. Do you understand them well? Most likely yes.
Are we talking about C++ style variables, Java style variables, or Ruby style variables? :P

To be honest, this is one of the reasons I prefer Ruby - it's "variable" is much simpler and easier to understand for novices, while the C++ "variable" is actually quite complex. Taking up C++, I was constantly getting tripped up by the fact that C++ variables were very different animals, and it took me a while to actually understand them. And there are still a few things about them that catch me up sometimes.
« Last Edit: November 01, 2012, 01:42:00 pm by GlyphGryph »
Logged

MadocComadrin

  • Bay Watcher
  • A mysterious laboratory goblin!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3357 on: November 01, 2012, 01:51:38 pm »

Are we talking about C++ style variables, Java style variables, or Ruby style variables? :P
All of them; none of them. Rather, I'm saying some people will have trouble with the procedural programming concept of a chunk of memory holding a value than can be accessed/modified via an identifier--all typing styles and implementations aside.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3358 on: November 01, 2012, 06:00:24 pm »

Are we talking about C++ style variables, Java style variables, or Ruby style variables? :P
All of them; none of them. Rather, I'm saying some people will have trouble with the procedural programming concept of a chunk of memory holding a value than can be accessed/modified via an identifier--all typing styles and implementations aside.

TBH... that's kind of weird >_>

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3359 on: November 01, 2012, 07:46:24 pm »

A coworker, our current senior-most-programmer, has decided the new system he's going to be working on will use "~" to represent the not symbol (and "~=" to represent not equals) instead of the more tradition ruby "!" and "!=".

His reason is that "I don't like how bangs look, the tilde looks much better."

This explains why he previously created his own "Not" method and used that almost exclusively up until this point, I suppose.

In other news, I'm now officially hunting for a new job.
Logged
Pages: 1 ... 222 223 [224] 225 226 ... 796