Bay 12 Games Forum

Please login or register.

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

Author Topic: Best programming language  (Read 2821 times)

PokemonRocks85

  • Bay Watcher
    • View Profile
Best programming language
« on: January 18, 2012, 07:57:14 am »

Hello Bay12 members i am wondering if there is a good programming language i could learn. I wanna make games so tell me what is the best programming language out there.

Ex: Python, java , c+ and more thats what i mean by programming language.
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #1 on: January 18, 2012, 07:58:14 am »

lol

best programming language is HASKELL hands down. Its what all the big companies use, man. Definitely the language to go with.
Logged

PokemonRocks85

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #2 on: January 18, 2012, 08:06:10 am »

Is HASKELL easy to learn?
Logged

Sir Finkus

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #3 on: January 18, 2012, 08:06:51 am »

I hear nothing but good things about brainfuck.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Best programming language
« Reply #4 on: January 18, 2012, 08:11:38 am »

I hear nothing but good things about brainfuck.

I second this, though lolcode is pretty good too.
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #5 on: January 18, 2012, 08:12:15 am »

Quote
Is HASKELL easy to learn?
Do you want a language that's easy to learn, or a language that's actually capable of churning out some awesome games?

If you want something easy, though, you should try out FORTRAN - it's a bit like Haskell light.
Logged

kaijyuu

  • Bay Watcher
  • Hrm...
    • View Profile
Re: Best programming language
« Reply #6 on: January 18, 2012, 08:15:08 am »

ZZT-OOP is the best programming language ever devised.


If you disagree you're wrong.
Logged
Quote from: Chesterton
For, in order that men should resist injustice, something more is necessary than that they should think injustice unpleasant. They must think injustice absurd; above all, they must think it startling. They must retain the violence of a virgin astonishment. When the pessimist looks at any infamy, it is to him, after all, only a repetition of the infamy of existence. But the optimist sees injustice as something discordant and unexpected, and it stings him into action.

GlyphGryph

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #7 on: January 18, 2012, 08:16:19 am »

Heck, yeah, what was I thinking. ZZT-OOP is actually BUILT for games.

I'm changing my vote to support kaijyuu's suggestion.
Logged

Starver

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #8 on: January 18, 2012, 08:39:40 am »

Whitespace.
Oook.
Quad.

But seriously, have you got an end result in mind?  Learning Java will get you an easily portable (and web-based) audience for such works as you eventually release.  C++ is probably where you want to head off to if you want to make fully compiled executables (not as automatically portable, but you should be able to make them 'port'able, and recompile them for different platforms) that can be fast and much more powerful, but I'd probably suggest starting with C[1] to get the basic non-OO principles off pat.

Python promises to have an approach that's... if not best of both worlds, certainly without some of their obvious failings.  Not sure how commercial it is, compared to the other two (not seen many "Python Developer required, for immediate start" adverts, as opposed to equivalents for the other two), but you'd be in good company.  I've got a Python book at home that I'm about to start reading, properly, whose first section's few introductory quotes basically equate to explaining the difficulties with the C-family/Java family, and then round it off with a Monty Python quote.  You have to be there, but the first few paragraphs proper suggest in the (obviously biased opinion of the author) that Python is the way to go.  I've yet to establish that for myself.  I find Python easy to read, but I've done precious little of my own writing in it, yet.

I have a soft-spot for Perl, especially for my near-eternal prototyping prior to going into whichever one of the other languages I can work in, I but I don't think it's going to be much use for you.  But it is good for working ideas out, if you don't mind then realising that the final target language is more strictly typed, or some other botheration, and you need to implement a lot more work to get a given simple Perl sub or block working in this other dialect.

I can also offer advice on COBOL, Forth, LISP, Pascal/Delphi, various BASIC subsets, etc, etc, and that general advice would be that they either don't do the kinds of things that you want them to do or the way of getting them to do them is not worth the bother or just plain not in the modern paradigm, even the likes of the BASICs that are specifically games-orientated.  Still, they're each fun, in their own ways. :)

Not that you'll be getting anywhere near it, and it's of a similar irrelevancy level to COBOL, but avoid Ada like the plague!  Most horrible language that I've ever used.  And I'm including COBOL and some of my own intentionally awkward/obtuse esolang implementations in that comparison...



[1] Albeit that you might be having to learn Object Orientated approaches after you've already gor a function-orientated mindset, but hopefully you'll still be malleable, in that regard.  There are intermediary Object-C dialects, but I rather jumped straight from K&R to ++.  And as yet have yet to be convinced to try C#.
Logged

Heron TSG

  • Bay Watcher
  • The Seal Goddess
    • View Profile
Re: Best programming language
« Reply #9 on: January 18, 2012, 08:50:32 am »

C++ is an industry standard, and rather powerful.
Python is something you'll need if you want to work on many open-source projects. (As it too is open source.)
FORTRAN or Assembly are good math-doing languages, though FORTRAN is quite a bit easier.
JavaScript is good for... scripting.
HTML5 is the way of the future, man.
Whitespace is secretive.
Logged

Est Sularus Oth Mithas
The Artist Formerly Known as Barbarossa TSG

Strife26

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #10 on: January 18, 2012, 09:01:29 am »

Have you ever learned a language before? If you haven't, you may want to start with something simple. I've never found the need to learn anything other than QBASIC, myself.
Logged
Even the avatars expire eventually.

optimumtact

  • Bay Watcher
  • I even have sheep
    • View Profile
Re: Best programming language
« Reply #11 on: January 18, 2012, 09:02:19 am »

I wouldn't listen to any of the half rate developers in this thread, the only language you'll ever need to know is the machine language the computer itself speaks.
Logged
alternately, I could just take some LSD or something...

Starver

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #12 on: January 18, 2012, 09:42:32 am »

Have you ever learned a language before? If you haven't, you may want to start with something simple. I've never found the need to learn anything other than QBASIC, myself.
I more or less started with BASIC (BBC BASIC ZX81 BASIC, actually), if you ignore a bootstrap-by-dipswitches thing on a hobby kit prior to that, which was basically machine-code but which I'd really only copied from a cheat-sheet.  But BASIC of most varieties isn't necessarily the best introduction.  You're rarely going to use BASIC to get any proper end product out of the shop, and it's structurally and syntactically incompatible with most of the languages that you would want to use.  But the knowledge was useful and transferable in doing LotusScript stuff, amongst other things, I suppose.  (Not game-orientated.)

My first higher-level was a variety of Pascal (also handy when I later got into Delphi, but hadn't prepared me for OO principles in that), and I've made games in that, but it's a bit old.  Delphi gives you the UI look, but I don't think I'd use that (or its Lazarus incarnation) for anything not entirely functional, these days.  Skip a few other languages, and the Ada that I spoke of was taught at university as a modular (not OO) language that aided collaboration, but I hated it and never encountered any graphics library functionality (doubtless there is one).  K&R C and C++ came later, for me, and were probably the only non-interpreted languages I was involved in in that era that I consider relevant to the OP.  You peek and poke video memory almost as good as with assembler, although these days you really need to interact with a DirectX or similar intermediary, anyway, for the top-notch stuff, which is yet another issue, and one which I've not gotten around to messing with.

Java came to create and fill its own niche, later, and is also relevant for the situations I've already mentioned.  (Personally, I think I need to brush back up on that lingo.)  Only recently have I looked much further than all these (and Perl), onto (or back to, from earlier encounters with similar languages) to Lua, Scheme, Tcl and the like.  But very few of these are implicitly gamer-codings (though can be used to drag various things kicking and screaming into a game-like format, if you want to...  You ought to see some of my stranger GIMP plugins... :) ).

And Python is the latest in the stable, I hear good things about it.  I'm worried that it might be like my early attempts to use PHP after being a Perl-kiddie for so long, though, being so used to one language's so-similar foibles that I make errors wherever the various dissimilarities occur... ;)


Not that you can't program a simple game in .BAT language (or, more easily, one of the 'sh' shell variants under Linux), and it's all experience, but such shell/command scripting languages bring their own problems and don't introduce you to the good techniques you get to/have to use in the OO interpreted language instances.
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: Best programming language
« Reply #13 on: January 18, 2012, 11:28:17 am »

Also if you go to the programming thread there are some REALLY good tutorials written for stuff!

I'd like to push Ruby, but games really aren't what it's for. Although its getting more efficient every day, and I think JRuby is on par with Java for efficiency now (and has access to all the Java libraries), so that might be a decent choice.
Logged

Gatleos

  • Bay Watcher
  • Mournhold... City of Light... City of MAGIC!
    • View Profile
    • Someone Sig This
Re: Best programming language
« Reply #14 on: January 18, 2012, 11:46:43 am »

My advice would be to slog through C++, wailing and gnashing your teeth through every painful lesson of memory management and OOP all at once. It creates highly-skilled, paranoid and xenophobic OCD nutcase programmers. The kind that get RESULTS!
Logged
Think of it like Sim City, except with rival mayors that seek to destroy your citizens by arming legions of homeless people and sending them to attack you.
Quote from: Moonshadow101
it would be funny to see babies spontaneously combust
Gat HQ (Sigtext)
++U+U++ // ,.,.@UUUUUUUU
Pages: [1] 2 3