Author Topic: Which language will u choose for your Game: Python, PHP, RUBY?  (Read 706 times)

Offline SYKO

  • Level 4
  • *
  • Posts: 13
  • Reputation: +0/-0
    • View Profile
There is no best Programming Language in this world. All of the languages are useful for their own tasks. That's everybody know. :D
Most of the BBGames I saw today are written in PHP because it may be the best fit for BBGames developer to start(cost, easy to study, and so on).
I'm very curious that why not other languages are use for BBGames. (Please left out ASP.net :D)
So, I make this topic in order to get knowledge from you guys. Please choose between: Python, PHP, and RUBY. (Java)
I think, You might already used all of the above languages for your different games. Please answer with the reason why u chose the language when u wrote your game.

Regards,
SYKO

Note: If this is topic is not applicable with this category, or this topic is nonsense, please move it where it is applicable or delete it.

Offline Nox

  • Level 35
  • **
  • Posts: 768
  • Reputation: +12/-2
    • View Profile
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #1 on: May 16, 2011, 01:58:10 PM »
Hi
a few times have I wondered about using other languages... but always came back to PHP.

It's a language I am simply the most comfortable with, it has some foibles but 'm okey with them*, it's everywhere and there are good tools to use (frameworks, orms etc.) and having an existing code base and experience to base upon there's little reason for me to change.

Of course it's good to expand your knowledge to other languages, but still this will be (at least for a long time) my primary (and loved) one

*) besides most of PHP's quirks are nullified either by framework or by being non-newbie programmer
Meet us at an IRC irc.freenode.net #bbg as well
https://vimeo.com/36579366 (a must-watch) | Join BOINC - no longer a hype, but you can help never the less

Offline SYKO

  • Level 4
  • *
  • Posts: 13
  • Reputation: +0/-0
    • View Profile
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #2 on: May 16, 2011, 02:12:09 PM »
Hi Nox,
Thanks for your input. Actually I'm also comfortable with PHP too though I'm only intermediate level. ;)

Recently I want to expend my knowledge to Python and Ruby. :D And I wanted to know that why not BBGames' geeks using other languages for their development. Thus why I posted here. :)
Anyway thanks for your input.

Offline BlackScorp

  • Level 15
  • *
  • Posts: 123
  • Reputation: +6/-0
    • View Profile
    • Cruel Online
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #3 on: May 16, 2011, 03:02:24 PM »
just because php is easy to learn, much developers which can help you and much tutorials.. but i know some games which are written in another languages

Shockwave (google: MaidMarian or Phosphor beta2)
Or http://de.sevenlands.net/ is written in Ruby on Rails
also there are some minigames written in JavaScript (google: GameQuery)

if you want to make some Ruby on Rails experience try http://railsforzombies.org/

Offline SYKO

  • Level 4
  • *
  • Posts: 13
  • Reputation: +0/-0
    • View Profile
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #4 on: May 16, 2011, 03:20:54 PM »
ah, thanks BlackScrop. Yes, PHP is easy to learn. It's true for beginner but I'm sure there will be other reason for geeks. :D

And I want to know is why they choose PHP and why they won't choose others with their real life story. that's all.

btw, I knew SevenLands but don't know it is written in ROR. thanks. :)

Offline Mutant

  • Level 10
  • *
  • Posts: 55
  • Reputation: +5/-0
    • View Profile
    • Kingdoms
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #5 on: May 16, 2011, 03:23:37 PM »
I use Perl. Mostly because I've been using it for about 15 years, so I know it inside out.

I tend to think Python, Ruby and Perl are a bit more powerful than PHP. But that's a matter of opinion.

Offline Chris

  • Game Owner
  • Level 35
  • *
  • Posts: 2,217
  • Reputation: +28/-1
    • View Profile
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #6 on: May 16, 2011, 03:48:24 PM »
No brainer choice, PHP.

It is good enough and far more popular than all other summed together which means:
- you can use shared host (all support PHP)
- in case of any problems the server provider's support staff will help you (everyone knows PHP, even the lowest tier technicians)
- the server/hosts that support only/primarily PHP will be usually cheaper
- the most tutorials examples on the web are written in PHP
- all 3rd party solution (PayPal, etc) provide scipts in PHP (and not always in other languages, at least the less popular 3rd party solutions - maybe not so valid nowadays, haven't checked it recently)
- you can post a question about your code on any forum and there will be hordes of programmers that can help you (again, everyone knows PHP :D)
- if by any unlikely chance you need to find a coder to help you with your site, better hope your site is written in PHP or you are in a big trouble (and once again, because everyone knows PHP :D)

If we were making more sophisticated games, instead of these upgraded websites then maybe it would be worth considering using some more sophisticated languages. But for a typical BBG we simply do not need more power than PHP could provide...
Disclaimer: if andrewjbaker comes and tells you that BBGs are not trivial and simple tell him that I never would call his insane project "a typical BBG" :)

Offline andrewjbaker

  • Level 17
  • *
  • Posts: 154
  • Reputation: +2/-0
    • View Profile
    • Fleeting Fantasy
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #7 on: May 16, 2011, 04:06:23 PM »
Quote
Disclaimer: if andrewjbaker comes and tells you that BBGs are not trivial and simple tell him that I never would call his insane project "a typical BBG"

Coming from Chris... I consider this the highest praise I could ever possibly hope to receive, LMAO.

Just for the record, from a user experience perspective, FF might feel pretty darn unfamiliar but I can assure you that server-side, FF's just another PBBG [written in PHP]. ;)

Off to continue work on my insane project... :)
Currently working on an HTML5 canvas 2.5D landscape renderer and a PBBG that uses it (http://fleetingfantasy.com/). The development blog's at http://fleetingfantasy.wordpress.com/.
What are BBGameZone members working on? See the game list.
irc.freenode.net, #bbg

Offline SYKO

  • Level 4
  • *
  • Posts: 13
  • Reputation: +0/-0
    • View Profile
Re: Which language will u choose for your Game: Python, PHP, RUBY?
« Reply #8 on: May 17, 2011, 05:34:15 AM »
I use Perl. Mostly because I've been using it for about 15 years, so I know it inside out.
I tend to think Python, Ruby and Perl are a bit more powerful than PHP. But that's a matter of opinion.

hehe, I've only learn Perl for 1 day. :P

everyone knows PHP

Cool! "Everyone knows PHP". haha. :)

@andrewjbaker
your FF is pretty beyond nice. one day, I wanna try like that too. :)
please add your input more, andrew. you surely can help us, beginner, a lot. :D

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal