Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 57 58 [59] 60 61 ... 72

Author Topic: The Roguelike Development Megathread  (Read 247299 times)

SilverDragon

  • Bay Watcher
  • For glory!
    • View Profile
Re: The Roguelike Development Megathread
« Reply #870 on: January 28, 2013, 12:24:04 am »

So, umm, yeah. WhAt language would you recommend a starting programmer should use? I'd love to get into this and learn, is all.
Logged
Apparently coding DF is equivalent to slaying hydras.

alexandertnt

  • Bay Watcher
  • (map 'list (lambda (post) (+ post awesome)) posts)
    • View Profile
Re: The Roguelike Development Megathread
« Reply #871 on: January 28, 2013, 12:43:20 am »

So, umm, yeah. WhAt language would you recommend a starting programmer should use? I'd love to get into this and learn, is all.

Python is a nice language to learn. Clear syntax, plenty of tutorials etc.
Logged
This is when I imagine the hilarity which may happen if certain things are glichy. Such as targeting your own body parts to eat.

You eat your own head
YOU HAVE BEEN STRUCK DOWN!

SilverDragon

  • Bay Watcher
  • For glory!
    • View Profile
Re: The Roguelike Development Megathread
« Reply #872 on: January 28, 2013, 12:55:33 am »

Thanks very kindly, sir. It's just that there were so ma y different languages in the OP.
Logged
Apparently coding DF is equivalent to slaying hydras.

BlindKitty

  • Bay Watcher
    • View Profile
Re: The Roguelike Development Megathread
« Reply #873 on: January 28, 2013, 10:56:03 am »

@SilverDragon - I personally prefer C#, which is easy to get into and has massive support in form of Visual Studio products (which are free). But it is apparently harder to find tutorials for it (there is one great help-site, http://www.dotnetperls.com/, but it is not a tutorial, just a collection of infos and articles on various parts of language), so it depends on your preferences and learning style. You might try both. :)
Also, if you are brave and inclined to do a lot of self-learning, take a look at F#. It isn't popular, but seems very... advanced, in a sense that it has very many features for which programmers a few years back would gladly kill. :) No too hard, but lacking learning resources - it is pretty new as far as I know.
Logged
My little roguelike craft-centered game thread. Check it out.

GENERATION 10: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

silverskull39

  • Bay Watcher
    • View Profile
Re: The Roguelike Development Megathread
« Reply #874 on: January 29, 2013, 12:37:43 pm »

posting to remind myself this exists later. I've tried to learn programming before, but I've never gotten very far.
Logged
Quote
Quote
Quote
Dwarf fortress threads can sound so.... unethical
it would be unethical if this wasn't the bay12 forums
Bay12: A short, sturdy forum fond of !!science!! and derailment.
Quote
Now back to your regularly scheduled thread derailment.

SilverDragon

  • Bay Watcher
  • For glory!
    • View Profile
Re: The Roguelike Development Megathread
« Reply #875 on: January 29, 2013, 04:39:27 pm »

I'll look up F# and see how it looks then.
Logged
Apparently coding DF is equivalent to slaying hydras.

alexandertnt

  • Bay Watcher
  • (map 'list (lambda (post) (+ post awesome)) posts)
    • View Profile
Re: The Roguelike Development Megathread
« Reply #876 on: January 30, 2013, 05:52:20 am »

I woudn't recommend F# to begin learning programming in, due to the aforementioned reasons (plus relative lack of tutorials).

I think Python is better to start off with overall, but C# is a nice (and professional/industry-used) language to continue with once you have got the basics IMO (plus Visual Studio's intellisence is very nice). Python is a fully complete language that you can write high-quality programs with though, so no pressure. (I find beginning people off with syntax heavy/Object-Orientated-enforced languages like C# can be a bit overwhelming)
Logged
This is when I imagine the hilarity which may happen if certain things are glichy. Such as targeting your own body parts to eat.

You eat your own head
YOU HAVE BEEN STRUCK DOWN!

InsaneRationalist

  • Bay Watcher
    • View Profile
Re: The Roguelike Development Megathread
« Reply #877 on: January 30, 2013, 05:37:30 pm »

I'd second (third?) the python recommendation (tutorial here), and also suggest eventually learning C (preferably the gnu dialect), although you probably shoundn't start off with that.
Logged
Dwarf Fortress: where an exploding unicorn death factory is a goal unto itself.
If it has cute cuddly features, it's probably safe to eat, so do not reason with it either.

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: The Roguelike Development Megathread
« Reply #878 on: January 30, 2013, 08:05:07 pm »

Ante Scriptum: please ignore most of this, Insane Rationalist. I had a knee jerk reaction and didn't properly read your post. I'll still leave it for reference though!

Oh, god... PLEASE don't suggest C to start off :'(

People who want to learn programming don't want to do it because programming is fun to them. In fact, it's probably going to pretty horrible until something starts coming out of it. They want to learn programming so they can make some cool application, and what C does is it puts as many barriers in front of you learning as possible. It's unsafe, it has complicated syntax, it has lots of difficult concepts (memory allocation, pointers, etc), needs to be compiled, compilation errors are dumbfounding at best and entirely useless at worst, runtime errors idem, and doesn't come with any decent standard library.

I mean, it's the difference between:

Code: [Select]
#include "stdio.h"

int main(char** argv, int argn) {
  printf("Hello world");
}

gcc helloworld.cpp -o helloworld.exe
./helloworld.exe

And this is assuming you don't have to download an install some compiler and/or an IDE, set up paths to the compiler (whether through environment variables or the IDE itself), and doing all this mumbo jumbo. And of course, bear in mind this will be the first time these guys are hearing about the PATH system variable and about most of these things. And that's for C, I'm not even going to go into C++!!!

What's wrong with letting people write
Code: [Select]
print("Hello world")
in a file and then letting them double-click it?


And god forbid you to want to output GRAPHICS on the screen! That means hours fighting with the compiler, library versions, static vs dynamic linking, parameters, paths and whatever else.

Let people actually learn programming by enjoying it. And they'll enjoy it if they can do THINGS, not fight incomprehensible errors.

Please, do yourself a favour and start with Python. If you want to go hardcore, you can do it later, after you figure our whether you enjoy the process of programming or not.

For the record, I started learning with Pascal, then C++, then Java, etc. These days? These days I use whatever allows me to get what I want out faster. And that, my friends, is never C. Heck, these days it isn't even Java!


P.S: sorry for the rant. I just honestly believe that's the worst advice you could ever give someone who is still figuring things out. C#/Java is already a bit better, on account of Eclipse and whatever you use for C#. Overall, I still feel higher level languages are better. Heck, even PHP is cool, because you immediately get visual HTML feedback on what you're doing :)

On another note, I'm fighting the move to C# on account of having a hard time finding a decent high-level library for more multi-platform languages... I can't seem to find any stable, up-to-date, high-level libraries. I'm thinking SFML-like for Python or whatever. SDL is way too low-level for the stuff I want to do.
« Last Edit: January 30, 2013, 08:11:49 pm by Anvilfolk »
Logged

alexandertnt

  • Bay Watcher
  • (map 'list (lambda (post) (+ post awesome)) posts)
    • View Profile
Re: The Roguelike Development Megathread
« Reply #879 on: January 30, 2013, 08:27:27 pm »

I agree completely with Anvilfolk. C, or C++ is just not a nice language to learn programming with.

They do have their places, but I do not think learning programming is one of those places.

But they will probably cause more headaches and fustration than most other languages.

argv and argn?? Burn the heretic!
Logged
This is when I imagine the hilarity which may happen if certain things are glichy. Such as targeting your own body parts to eat.

You eat your own head
YOU HAVE BEEN STRUCK DOWN!

Urist McScoopbeard

  • Bay Watcher
  • Damnit Scoopz!
    • View Profile
Re: The Roguelike Development Megathread
« Reply #880 on: January 30, 2013, 08:58:27 pm »

Well Silver,  if you're in high school they probally offer a Java course (with complamentary eccentric and abstract teacher) or if your in college they probally offer a couple of different programming language classes, of if you're younger or don't want to turn your early programming experience into problem-set hell then start with C++/C# or Python.

That's probally not helpful, but if it is, good luck & god speed man!
Logged
This conversation is getting disturbing fast, disturbingly erotic.

SilverDragon

  • Bay Watcher
  • For glory!
    • View Profile
Re: The Roguelike Development Megathread
« Reply #881 on: January 30, 2013, 10:10:45 pm »

Yeah, I'm actually wanting to learn because it looks fun, I am in high school, and that's a grade 11 course, not ten. :D
Logged
Apparently coding DF is equivalent to slaying hydras.

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: The Roguelike Development Megathread
« Reply #882 on: January 31, 2013, 07:28:14 am »

I think the great advantage of having a teacher is having him organise your work, and "make you" do your assignments. It gives you a sense of goal that you can strive for, which is not really something one usually gets motivated to do by oneself.

Still, python has tons of free tutorials, free books, some related to game programming/graphics, so you can always start with that :) Heck, some of them even teach you to program in Python by making games!

Skyrunner

  • Bay Watcher
  • ?!?!
    • View Profile
    • Portfolio
Re: The Roguelike Development Megathread
« Reply #883 on: January 31, 2013, 07:41:07 am »

I learned C++ from the get-go, and it wasn't that hard. It does require perseverance. Also, a few people you can ask for advice helps a lot. Bay12 has two such threads for those purposes. :D
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

InsaneRationalist

  • Bay Watcher
    • View Profile
Re: The Roguelike Development Megathread
« Reply #884 on: January 31, 2013, 08:56:05 pm »

[justified rant]

I actually mostly agree with this, hence the "eventually" (that likely should have been much more emphasized). The C part of my comment was more of a long term consideration.
Logged
Dwarf Fortress: where an exploding unicorn death factory is a goal unto itself.
If it has cute cuddly features, it's probably safe to eat, so do not reason with it either.
Pages: 1 ... 57 58 [59] 60 61 ... 72