Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,786 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,360 people online right now. Registration is fast and FREE... Join Now!




Should I Change To Ruby?

2 Pages V  1 2 >  
Reply to this topicStart new topic

Should I Change To Ruby?

Kingbradley6
16 Aug, 2008 - 07:00 AM
Post #1

D.I.C Head
Group Icon

Joined: 10 Jul, 2008
Posts: 116



Thanked: 1 times
Dream Kudos: 100
My Contributions
(For those that scan read posts, please can you read all of it as it contains stuff to answer my question all the way through)

Well about 3 weeks ago I decided to learn a programming language.

I started off with C++ for a week but after reading some articles I found out that Java was going to be easier for someone that has never programmed before (I only know HTML & CSS).

So for 2 weeks I've been learning Java but I have found it quite hard. I get the jist of it but it does baffle me at times trying to do even the simplest of things.

CODE
public class Demo {

public static void main(String []args) {

int myFirstNumber = 1;
int mySecondNumber = 5;

if(myFirstNumber == mySecondNumber) {
System.out.println("The numbers match!");
}
else {
System.out.println("Unfortunately the numbers don't match");
}

}

}


The above Java code I can easily manage however that is about as far as it goes. So although the above is simple I don't understand anything more complex than that.

So I was wondering...

Should I stick with Java and just keep re-reading the same tutorial/s until I understand it or should I switch to ruby which at a quick first glance seems simple?

OR, should I change to ActionScript as I do have Adobe CS3 Flash, it's just I'm not good in any aspect of Flash from AS to drawing.

If it makes any difference, I want to be able to make online games with it.

P.S. Please don't say a game will take you ages to make and I'm setting my goals far too high. That's my goal and I want to complete it - I just don't know down which path to go.

This post has been edited by Kingbradley6: 16 Aug, 2008 - 07:07 AM
User is offlineProfile CardPM
+Quote Post

girasquid
RE: Should I Change To Ruby?
16 Aug, 2008 - 07:24 AM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,267



Thanked: 14 times
Dream Kudos: 650
My Contributions
Pick whichever one you like best - there really isn't a 'best' language. If you're working on making a game, the languages that are typically chosen are C++ or Java.
User is online!Profile CardPM
+Quote Post

Kingbradley6
RE: Should I Change To Ruby?
16 Aug, 2008 - 07:29 AM
Post #3

D.I.C Head
Group Icon

Joined: 10 Jul, 2008
Posts: 116



Thanked: 1 times
Dream Kudos: 100
My Contributions
Okay let me re-word it...

Out of Java and Ruby what is the easiest to learn and quickest to develop programs* with a GUI?

* = Doesn't have to be a game

(C++ isn't in it as I find the memory business too hard)
User is offlineProfile CardPM
+Quote Post

MitkOK
RE: Should I Change To Ruby?
16 Aug, 2008 - 10:42 AM
Post #4

D.I.C Regular
Group Icon

Joined: 9 Aug, 2007
Posts: 314



Thanked: 12 times
Dream Kudos: 250
My Contributions
Do you want easy learning and programming or you're just lazy ?
User is offlineProfile CardPM
+Quote Post

Kingbradley6
RE: Should I Change To Ruby?
16 Aug, 2008 - 11:44 AM
Post #5

D.I.C Head
Group Icon

Joined: 10 Jul, 2008
Posts: 116



Thanked: 1 times
Dream Kudos: 100
My Contributions
QUOTE(MitkOK @ 16 Aug, 2008 - 11:42 AM) *

Do you want easy learning and programming or you're just lazy ?


I'm not lazy mad.gif I just want a programming language that is easy to learn so I can start developing programs quickly.

This post has been edited by Kingbradley6: 16 Aug, 2008 - 11:45 AM
User is offlineProfile CardPM
+Quote Post

MitkOK
RE: Should I Change To Ruby?
16 Aug, 2008 - 01:43 PM
Post #6

D.I.C Regular
Group Icon

Joined: 9 Aug, 2007
Posts: 314



Thanked: 12 times
Dream Kudos: 250
My Contributions
Ruby is easy ot learn, easier to code than Java, C/C++.
But the proccess of learning programming depends on you.

PS: http://www.dreamincode.net/forums/showtopic59830.htm

This post has been edited by MitkOK: 16 Aug, 2008 - 01:43 PM
User is offlineProfile CardPM
+Quote Post

KYA
RE: Should I Change To Ruby?
16 Aug, 2008 - 02:43 PM
Post #7

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 4,953



Thanked: 109 times
Dream Kudos: 1200
My Contributions
Java can have a GUI set up and running a lot faster then C++; I can't speak to the ease of Ruby, but python was pretty easy as well.
User is online!Profile CardPM
+Quote Post

MitkOK
RE: Should I Change To Ruby?
17 Aug, 2008 - 12:49 AM
Post #8

D.I.C Regular
Group Icon

Joined: 9 Aug, 2007
Posts: 314



Thanked: 12 times
Dream Kudos: 250
My Contributions
Ruby GUI Toolkits:
- Tk
- wxRuby(wxWindows/wxWidgets)
- Ruby/Gnome(GTK)
- Ruby/QT
- RubyCocoa ( for Mac OS X, even on iPhone )

and many more.

Aside from GUI Toolkits there's Java implementation of Ruby ( JRuby ) and .NET implementation of the Ruby ( IronRuby ).

This post has been edited by MitkOK: 17 Aug, 2008 - 12:53 AM
User is offlineProfile CardPM
+Quote Post

jaxx751
RE: Should I Change To Ruby?
29 Sep, 2008 - 06:17 AM
Post #9

New D.I.C Head
*

Joined: 18 Sep, 2008
Posts: 4


My Contributions
QUOTE(Kingbradley6 @ 16 Aug, 2008 - 12:44 PM) *

QUOTE(MitkOK @ 16 Aug, 2008 - 11:42 AM) *

Do you want easy learning and programming or you're just lazy ?


I'm not lazy mad.gif I just want a programming language that is easy to learn so I can start developing programs quickly.


Programming is more based on logic. Once you learn one language, it is fairly easy to move to another language simply by learning the syntax. There isn't a better language overall, but some things are more suited for certain development types. You wouldn't use PHP to create a game...

Read a little bit about the logic of programming and you should soon be able to create programs no problem.

The best programmers don't think about the language that they program in before they start programming, they pick the language best suited for the job. If I wanted a simple email script for a form filled out by a user on a website, I highly doubt that I would create a Ruby on Rails application to use a mail function. PHP is more suited for a small job like that, and can be tied in easily without modifying the rest of the website.

What I'm trying to say is that you shouldn't get caught up in one language is better than another. Computer logic is all the same. Different languages, simply put, only change syntax of logic. (there are other differences, but this is the main point I'm trying to make.)


With that said, what are you trying to develop? Desktop application? Web interface? Don't limit yourself to one language.

Cheers
User is offlineProfile CardPM
+Quote Post

Kingbradley6
RE: Should I Change To Ruby?
5 Oct, 2008 - 09:16 AM
Post #10

D.I.C Head
Group Icon

Joined: 10 Jul, 2008
Posts: 116



Thanked: 1 times
Dream Kudos: 100
My Contributions
QUOTE

Don't limit yourself to one language


But surely it is better to know one language inside-out than many not very well?

On that note, what is better...

Ruby OR Pascal???
User is offlineProfile CardPM
+Quote Post

Inkman
RE: Should I Change To Ruby?
13 Oct, 2008 - 12:00 PM
Post #11

New D.I.C Head
*

Joined: 6 Oct, 2008
Posts: 11


My Contributions
umm, I am new here and all, I do believe that the guy just said, no one language is better.

In, my school I got started out with a book on ruby, so far I think its a pain, but thats cause I don't have logic or something and I am a complete beginner, I don't even know how to ask questions (noone understands me). it just makes me want to smash my brains in.
User is offlineProfile CardPM
+Quote Post

Kingbradley6
RE: Should I Change To Ruby?
13 Oct, 2008 - 12:15 PM
Post #12

D.I.C Head
Group Icon

Joined: 10 Jul, 2008
Posts: 116



Thanked: 1 times
Dream Kudos: 100
My Contributions
QUOTE(Inkman @ 13 Oct, 2008 - 01:00 PM) *

umm, I am new here and all, I do believe that the guy just said, no one language is better.

In, my school I got started out with a book on ruby, so far I think its a pain, but thats cause I don't have logic or something and I am a complete beginner, I don't even know how to ask questions (noone understands me). it just makes me want to smash my brains in.


Perhaps technically no-one langauge is better but then if that was true then I could make the next Call of Duty with Pascal (obviously not possible for many reasons).

Ruby is actually very easy once you understand the simple algorithm of programming. Don't smash your brain just keep on trying. You will get there in the end and just try and ask questions otherwise ask them here!

User is offlineProfile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 01:14PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month