I have been reading couple things about ruby and java, which one is better for a beginner programer?
22 replies to this topic
#1
Posted 09 November 2007 - 12:41 AM
#2
Posted 09 November 2007 - 12:51 AM
neither.
For a beginner, use like runtime revolution or some crap like that. You have to understand how coding works for you to really be able to do it well. After that, get kareltherobot for java, and expiriment with that
For a beginner, use like runtime revolution or some crap like that. You have to understand how coding works for you to really be able to do it well. After that, get kareltherobot for java, and expiriment with that
#3
Posted 09 November 2007 - 01:22 AM
#4
Posted 09 November 2007 - 04:01 AM
Karel The Robot actually.
it teaches you how to program in java. Like, you just have to make a world, then make a Karel, then tell him what to do.
If you add the karel library (download it somewhere) in bluej, you can run this simple code:
it teaches you how to program in java. Like, you just have to make a world, then make a Karel, then tell him what to do.
If you add the karel library (download it somewhere) in bluej, you can run this simple code:
import kareltherobot.*;
/**
* Write a description of class Hbot here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class Hbot
{
public static void main(String [] args)
{
World.setVisible(true);
UrRobot Allout = new UrRobot(1, 1, Directions.North, 7);
Allout.turnLeft();
Allout.turnLeft();
Allout.turnLeft();
Allout.putBeeper();
Allout.move();
Allout.move();
Allout.putBeeper();
Allout.turnLeft();
Allout.move();
Allout.putBeeper();
Allout.move();
Allout.putBeeper();
Allout.turnLeft();
Allout.move();
Allout.move();
Allout.putBeeper();
Allout.turnLeft();
Allout.move();
Allout.putBeeper();
Allout.turnLeft();
Allout.move();
Allout.putBeeper();
Allout.turnLeft();
Allout.turnLeft();
Allout.move();
Allout.turnLeft();
Allout.move();
Allout.turnLeft();
Allout.turnLeft();
Allout.turnOff();
}
}
#5
Posted 09 November 2007 - 08:47 PM
I just looked it up didnt find anything, where could i find it?
#6
Posted 09 November 2007 - 08:56 PM
#7
Posted 10 November 2007 - 10:36 PM
AllOutMacsToday, on Nov 8 2007, 07:51 PM, said:
neither.
For a beginner, use like runtime revolution or some crap like that. You have to understand how coding works for you to really be able to do it well. After that, get kareltherobot for java, and expiriment with that
For a beginner, use like runtime revolution or some crap like that. You have to understand how coding works for you to really be able to do it well. After that, get kareltherobot for java, and expiriment with that
#8
Posted 10 November 2007 - 10:48 PM
ya, it is, and it does. It also can be very annoying though. It was my first real language, and I turned out fine
#9
Posted 11 November 2007 - 12:00 PM
Ruby's the way to go if you're going to be developing on OS X. Apple deprecated the Java-Cocoa bridge with Leopard and is now providing Cocoa bridges to Python and Ruby. If you're going to branch out into OS X app development later on, Ruby and Python are going to be an easier way to get there than Java.
The book Learn to program will teach you basic programming concepts and a little about Ruby at the same time. I highly recommend it; you can get it in print or as a PDF online.
If you want to check out Python instead of Ruby (both are good languages for beginners), try reading dive into Python. It's available in print or for free online.
The book Learn to program will teach you basic programming concepts and a little about Ruby at the same time. I highly recommend it; you can get it in print or as a PDF online.
If you want to check out Python instead of Ruby (both are good languages for beginners), try reading dive into Python. It's available in print or for free online.
#10
Posted 12 November 2007 - 03:16 AM
to program with python, is that its own language? or what do you use?
#11
Posted 21 November 2007 - 01:02 AM
ruby, really good tutorials for that
#12
Posted 31 January 2008 - 04:50 PM
Get JRuby and you can have the best of both worlds - Ruby and Java. Ruby calling / using Java or vice versa.
#13
Posted 31 January 2008 - 07:17 PM
This is a really difficult question to answer. The real question here is: how much time and effort are you willing to put into this endeavor? Do you want to do something specific or are you contemplating a career in computer science? It's like learning to play the guitar. Some just want to learn to play some tunes but others want to really understand music and use the instrument professionally.
If you really want to learn to program, I'd recommend you take some lessons for beginners (maybe at your school or community college). That way you won't spend time reading boring stuff from books, you'll have some sense of direction and will be able to ask questions (you will have them). Working in a group will also keep you motivated, since you'll be able to share first hand experience with others at your level.
There are some good books for beginners out there, but nothing compares to the efficiency of a tutor, IMO (even Jimi Hendrix learned to play his guitar from somebody!).
Good luck!
hecker
If you really want to learn to program, I'd recommend you take some lessons for beginners (maybe at your school or community college). That way you won't spend time reading boring stuff from books, you'll have some sense of direction and will be able to ask questions (you will have them). Working in a group will also keep you motivated, since you'll be able to share first hand experience with others at your level.
There are some good books for beginners out there, but nothing compares to the efficiency of a tutor, IMO (even Jimi Hendrix learned to play his guitar from somebody!).
Good luck!
hecker
#14
Posted 31 January 2008 - 08:28 PM
Well said!
#15
Posted 12 February 2008 - 09:22 PM
For people brand new to programming who just want to see if it's something they enjoy I recommend Javascript as their first programming language. Requires no special tools and everything you learn is useful no matter which direction you choose next.
Between just Ruby and Java.. I recommend Java since there are so many free tutorials, development tools and even free university classes online. Here are the Sun tutorials, for example: Java Tutorials
Between just Ruby and Java.. I recommend Java since there are so many free tutorials, development tools and even free university classes online. Here are the Sun tutorials, for example: Java Tutorials
#16
Posted 12 February 2008 - 10:32 PM
Remember, Java != Javascript. They are totally different languages.
#17
Posted 13 February 2008 - 07:51 AM
The first language I learnt was Turing. I found that it crossed over into other languages.
The thing is -- before even learning a whole language, you need to know the very basics and concepts behind programming. Cross-language functions like Arrays, counters, loops, etc... you need to know why they exist and what you can do with them. Then you can imagine the program and work towards the dream.
By the way, that Chris Pine ebook looks like a good first step -- I just downloaded a copy off of TPB (ahem). Be sure to buy the book if it's useful to you!
The thing is -- before even learning a whole language, you need to know the very basics and concepts behind programming. Cross-language functions like Arrays, counters, loops, etc... you need to know why they exist and what you can do with them. Then you can imagine the program and work towards the dream.
By the way, that Chris Pine ebook looks like a good first step -- I just downloaded a copy off of TPB (ahem). Be sure to buy the book if it's useful to you!
#18
Posted 01 March 2008 - 01:06 AM
1stmac, on Feb 12 2008, 04:22 PM, said:
For people brand new to programming who just want to see if it's something they enjoy I recommend Javascript as their first programming language. Requires no special tools and everything you learn is useful no matter which direction you choose next.
Killa CLiDE, on Feb 13 2008, 02:51 AM, said:
The thing is -- before even learning a whole language, you need to know the very basics and concepts behind programming. Cross-language functions like Arrays, counters, loops, etc... you need to know why they exist and what you can do with them. Then you can imagine the program and work towards the dream.
#19
Posted 24 February 2009 - 11:20 AM
Hi,there are many computer ebooks free download.
free ebook download
such as:c++,csharp,adobe,ajax,asp.net,head-first,java,linux,my sql,oracle,perl,ruby,rails,python,acess,visual basic
free ebook download
such as:c++,csharp,adobe,ajax,asp.net,head-first,java,linux,my sql,oracle,perl,ruby,rails,python,acess,visual basic
#20
Posted 28 February 2009 - 06:31 AM
Java?? Ruby?? Python??
What is becoming of the world. Learn C++. C is by far the easiest programming language to learn and use and C++ makes it more efficient. cplusplus.com
What is becoming of the world. Learn C++. C is by far the easiest programming language to learn and use and C++ makes it more efficient. cplusplus.com
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account








