0
Java or Ruby
which one should I learn?
3 odpowiedzi
+ 4
Both are great object-oriented, general-purpose, multi-paradigm programming languages. Java is much more simple to learn because it borrows the C++ syntax with little changes to it and more of a platform because of the JVM. On the other hand Ruby is complex but fun to learn because of it's simplified syntax. If you are a complete beginner I'd strongly suggest that you start with Java to understand OOP concepts since Ruby treats everything, even a number, purely as an object.
Example "Hello World"
1. In Java
public class helloWorld {
public static void main (String[ ] args){
System.out.println("Hello World");
}
}
2. In Ruby
puts "Hello World"
+ 1
don't compare programming language and scripting language
+ 1
i'd recommend java due to its simplicity.am two weeks into my lessons but I just mastered making my own web page.Feels great though!! lol