0

Java or Ruby

which one should I learn?

18th Jan 2017, 4:29 PM
Pepe
Pepe - avatar
3 Réponses
+ 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"
24th Apr 2017, 10:38 PM
Wallace Steven
Wallace Steven - avatar
+ 1
don't compare programming language and scripting language
19th Jan 2017, 5:47 PM
Emmanuel Meena
Emmanuel Meena - avatar
+ 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
17th Sep 2017, 9:02 PM
Daniel Msulah
Daniel Msulah - avatar