Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5]

Author Topic: Getting Into Coding  (Read 7743 times)

eerr

  • Bay Watcher
    • View Profile
Re: Getting Into Coding
« Reply #60 on: March 11, 2011, 07:36:33 am »

Programming never gets far when I occasionally get the urge to try it, sadly. I usually lose my way and get completely confused around day 2. I've tried a variety of languages and none have really stuck, sadly. I get the syntax and all that like a savant but when it comes to actually making a program that actually does something I get nowhere fast.

Programming is slooooooooooooow.

Just enabling touch-buttons on the iphone is easily an hour of work.

Enabling a msql-lite database is weeks of work.(previously knowing nothing about it)

got that from my brother.

Now if you want something fast, for god's sake find an engine, a library, something that speeds development.


Logged

Moogie

  • Bay Watcher
    • View Profile
Re: Getting Into Coding
« Reply #61 on: March 11, 2011, 01:57:46 pm »

What I'd really love to find is some kind of repository of example tasks or challenges, ranked by difficulty and/or assumed knowledge. My biggest problem right now is having any idea how to apply the theory stuff I've been learning into a practical application. Admittedly, part of that is a motivation issue; I'm sure I could think up many little programs to build, but my brain just gets scared at the idea of starting out with no guidance and I end up going back to reading about it, rather than actually doing it. It's the daunting task of getting over that first hurdle, when you have no experience or the confidence of past projects to build upon. Once I get the ball rolling, I'm sure it'll start getting easier!
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Frajic

  • Bay Watcher
    • View Profile
Re: Getting Into Coding
« Reply #62 on: March 11, 2011, 02:41:52 pm »

What I'd really love to find is some kind of repository of example tasks or challenges, ranked by difficulty and/or assumed knowledge. My biggest problem right now is having any idea how to apply the theory stuff I've been learning into a practical application. Admittedly, part of that is a motivation issue; I'm sure I could think up many little programs to build, but my brain just gets scared at the idea of starting out with no guidance and I end up going back to reading about it, rather than actually doing it. It's the daunting task of getting over that first hurdle, when you have no experience or the confidence of past projects to build upon. Once I get the ball rolling, I'm sure it'll start getting easier!
Project Euler fits that bill nicely, but it's mostly focused on mathematics. Still, you should give it a try.
Logged
EoS company name: Vikings Inc.

nenjin

  • Bay Watcher
  • Inscrubtable Exhortations of the Soul
    • View Profile
Re: Getting Into Coding
« Reply #63 on: March 12, 2011, 01:43:58 am »

I've gotten inspired by reading this thread and decided to start learning how to code.

It's difficult for me, because I'm not very math/logic oriented. Syntax and how to structure the use of functions, ect... have always been my big stumbling block. The last time I really tried to do anything like coding.....was in the late 80s with BASICA.

I'm starting with Python, since accessible terms and lots of examples is what I need. It's taken me, oh, about 4 hours to write a very basic text intro to an RPG, where you pick your race and gender. My brain is kind of on fire as I see dozens of ways to approach a very simple problem.

Anyways, gotta crawl before you can stand up, then fall over.
Logged
Cautivo del Milagro seamos, Penitente.
Quote from: Viktor Frankl
When we are no longer able to change a situation, we are challenged to change ourselves.
Quote from: Sindain
Its kinda silly to complain that a friendly NPC isn't a well designed boss fight.
Quote from: Eric Blank
How will I cheese now assholes?
Quote from: MrRoboto75
Always spaghetti, never forghetti

Willfor

  • Bay Watcher
  • The great magmaman adventurer. I do it for hugs.
    • View Profile
Re: Getting Into Coding
« Reply #64 on: March 12, 2011, 03:51:44 pm »

Knowing you're going to fall down a lot is half the battle. Unfortunately, the other half is not falling down, which tends to get more difficult.

Good luck!
Logged
In the wells of livestock vans with shells and garden sands /
Iron mixed with oxygen as per the laws of chemistry and chance /
A shape was roughly human, it was only roughly human /
Apparition eyes / Apparition eyes / Knock, apparition, knock / Eyes, apparition eyes /

nenjin

  • Bay Watcher
  • Inscrubtable Exhortations of the Soul
    • View Profile
Re: Getting Into Coding
« Reply #65 on: March 13, 2011, 03:15:20 am »

I don't want to shoot myself in the foot by saying this but...

This has turned out to go a lot smoother than I thought it would. Of course, I'm only doing a text adventure, but halfway through that tutorial web-site, I stopped at his text adventure example and decided to finish my own work before moving on.

At first I felt like I wasn't really understanding anything, I was just copy pasting someone else's framework and fumbling through it. But once the concepts started to sink in, especially about how functions communicate with the main program, and vicea versa, all sorts of custom functions and ideas started coming into my head.

I figured out a lot of novice-level concepts on my own, or with a little additional web reading and almost no code splicing.

I'm sure anyone with a lick of Python experience would look at my game and see about 100 places it could be trimmed down and optimized. But I'm pretty proud of myself for figuring out all the functions I wanted (making my text adventure a pseudo-rpg text adventure) in only about a 24 hour period.
« Last Edit: March 13, 2011, 03:17:45 am by nenjin »
Logged
Cautivo del Milagro seamos, Penitente.
Quote from: Viktor Frankl
When we are no longer able to change a situation, we are challenged to change ourselves.
Quote from: Sindain
Its kinda silly to complain that a friendly NPC isn't a well designed boss fight.
Quote from: Eric Blank
How will I cheese now assholes?
Quote from: MrRoboto75
Always spaghetti, never forghetti

Muz

  • Bay Watcher
    • View Profile
Re: Getting Into Coding
« Reply #66 on: March 13, 2011, 04:12:22 am »

Take a university level course. Or if you can't afford it, my uni has videos on YouTube:
http://www.youtube.com/user/unswelearning#g/c/6B940F08B9773B9F

The courses are very well done, easy to learn. You won't get the advantage of doing assignments and getting some practice in, but it'll explain everything from start to finish. There's also quite a lot of humor and fun conversations.

I've gone to watching the lectures instead of watching TV, it's just how entertaining they are :P

The course is on C mainly.
Logged
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Moogie

  • Bay Watcher
    • View Profile
Re: Getting Into Coding
« Reply #67 on: March 13, 2011, 08:51:09 am »

Not sure why I didn't spot this before, but there seems to be a rather nice thread dedicated to helping coding newbies over in Creative. :)

http://www.bay12forums.com/smf/index.php?topic=57518.0
Logged
I once shot a bear in the eye with a bow on the first shot, cut it up, found another one, and shot it in the eye too. The collective pile of meat weighed more than my house.

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: Getting Into Coding
« Reply #68 on: March 14, 2011, 08:51:06 am »

Programming is slooooooooooooow.
This is true.

Quote
Enabling a msql-lite database is weeks of work.(previously knowing nothing about it)
This is pertinently untrue. I got a staticly compiled sqlite up and working in 3 evenings, and I had started learning c++ just a few months before that. There's a few tricky spots but the sqlite documentation is very nice.
What will cost time is designing your database, setting it up, and designing your functions in a way that keeps it nice and maintained. Bonus points for async multi-threading. That will put you back months ;)

Not sure why I didn't spot this before, but there seems to be a rather nice thread dedicated to helping coding newbies over in Creative. :)

http://www.bay12forums.com/smf/index.php?topic=57518.0
Yeah, that's the go-to place where people don't argue about which language is better...
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))
Pages: 1 ... 3 4 [5]