Which is best among Java, Ruby on Rails, or Python?
It depends on what you mean by "better". Python and Ruby are both interpreted scripted languages while java is run on the jvm. Although both python and ruby can also run on the jvm with jython and jruby respectively. Realistically python and ruby are basically the same language, they just have different philosophies. Ruby aims to be as dynamic as possible giving you flexibility in solving problems in multiple ways, while python believes there should be one way to do it.Java on the other hand is a statically typed incredibly verbose language and tries its damndest to be "write once, deploy anywhere" . Its used very widely for business applications and android development because it scales quite well and you can "just throw more developers" at a problem and fix it. You cant go wrong with any of them so lemme just quickly summarize. Python if youre interested in data science or web development.Java if youre interested in android development and for high employability.Ruby for web development if you dont like python ;)
Which is more beneficial to learn, Java, Python, or Ruby?
It really depends on the type of work you are targeting - no one size fits all. However, between all three, I would say Ruby is the weakest as the shift of hype driven web development towards Node.js and now Go/Rust has left Rails (main flagship use of Ruby) less popular. But that does not mean Ruby is a bad language or eco-system, in fact, as a language, Ruby is my favourite among the three.Java is still very popular in enterprise sectors and lots of legacy code is written in it (using Java EE or Spring etc.) which needs maintaining for quite some time. That makes it very good for jobs.Python on the other hand has taken over the data science, machine learning and other AI fields closely followed by R. And in general it is an excellent eco-system with lots of libraries and active developers. Also, the split caused by Python 3 incompatibilities is almost closed now in 2018.So I guess it would be good to learn Python and Java both (at least be familiar with Java, Web, EE etc). Ruby can be picked up when needed as it is structurally very close to Python. Also, you might learn a bit of JavaScript as eventually you may have to write some web code irrespective of what is used in backend.
Which programming language should I learn, Java or Ruby?
For applicability, Java, no doubt. However, Java is not suitable for newcomers.Java (or C#) forces users to think in OOP (object-oriented programming) even writing non-OOP code. Total beginners cannot comprehend OOP before familiar themselves with imperative programming. Ruby (or Python) doesn’t force programmers into specific paradigms; let both newcomers and advanced users coding in their own way. In addition, Ruby (or Python) abstracts away most nitty-gritty of programming, e.g. memory management, big number algebra, etc, from users, reducing unnecessary frustrations for newcomers.Thought Ruby per se is a general-purpose language, the downsides of Ruby mainly lacks of real-world usage beyond web programming. There are many newer languages for high performance web programming, e.g. Node.js, Go; besides, Rails is no longer unique as a web framework. As a learning tool for general concepts about programming, Ruby is fine. For practical use, consider other languages like Java or Python.
Which is best for web development, Java, Python, Ruby, or PHP?
Java is probably the most difficult. It’s an industrial language, the enterprise standard. You’ll have to deal with heavy frameworks like Spring and Vaadin.Ruby is most strongly associated with the Rails framework, though Sinatra is popular, too. Ruby seems to be falling out of favour these days.PHP is perhaps the most common language that underpins the world’s websites, but it’s not a particularly good language.I regard Python as the best of the four. I think it’s the easiest one to learn. It’s a very good language, one of the three that absolutely rule the IT industry (the other two are Java and C++).Python in conjunction with web2py is a killer combination. Web2py is a full-stack framework that provides everything you need right out of the box. Batteries are included. It’s literally one-stop shopping for web development!Web2py makes it so quick and easy to write a web application. That’s why I chose it over Django. I use it for ALL my websites.
What are the differences between java and ruby as well as their web based counterparts namely JSP vs Rails?
Unlike Java, in Ruby…* you don’t need to compile your code. You just run it directly.* there’s different GUI toolkits. Ruby users can try WxRuby, FXRuby, or the bundled-in Ruby Tk for example.* you use the end keyword after defining things like classes, instead of having to put braces around blocks of code.* you have require instead of import.* all member variables are private. From the outside, you access everything via methods.* parentheses in method calls are usually optional and often omitted.*everything is an object, including numbers like 2 and 3.14159. Classesare objects! For example, Array is a constant name that is bound to theArray class object. To create a new object, we call new on the classobject as in a = Array.new* there are no primitives or data types* variable names are just labels (not objects). They don’t have a type associated with them.* there’sno type declarations. You just assign to new variable names as-neededand they just “spring up” (i.e. a = [1,2,3] rather than int[] a ={1,2,3};).* it’s foo = Foo.new(“hi”) instead of foo = new Foo( “hi” ).* the constructor is always named initialize instead of the name of the class.* you have “mixin’s” instead of interfaces.* YAML tends to be favoured over XML.* it’s nil instead of null. Also, nil is a normal object; you can never get a null pointer error!* there is no method overloading.* it’s much more common to put many classes in the same file.
Is it better to learn Java or Ruby/Rails as a first language?
I don't think it matters which one you choose here. If I would be in your situation with my knowledge on programming I would choose the language fitting better to the things I'd like to develop. If you want to build webbackends where you can expect low to medium traffic, I would go with Ruby. In all other cases I would choose Java. This answer is bounded to the choice between Ruby and Java. I didn't take any further language into consideration here.The concepts of these two languages are very similar. Both are object oriented while Ruby is a bit more consequent here since even numbers are objects which is not true in Java. One thing you may also want to take into consideration is closeness to other languages regarding syntax. While Ruby is close to Elixir regarding syntax, Java is close to many further languages like C, C++, C#, Go, Javascript... I don't think it is not a deal breaker since adapting a new syntax usually goes fast, but it is a nice to know.
Which language should I learn, Java, Python, SQL, CCNA, Linux, iOS, or Ruby?
First of all, CCNA, Linux and iOS aren’t languages.Learn SQL to be able to work with databases with any language.Learn Python, If you don’t want to develop GUIs, and want a powerful and simple general-purpose language. Please read these answers: Will JavaScript overtake Python?Your opinion, for what the Python programming language is best suitable?Learn Java, If you want to develop cross-platform GUIs, for Android and for the web.Learn Swift, If you want to develop for iOS.You should learn Linux, It’s a better platform for open-source developing.Note: Learn Linux If you are a Windows user, If you are a Mac user, you don’t need to. Mac is like Linux.CCNA is a course related to the IT and network fields. If you are interested, go check it out.Ruby, It’s like Python, It’s a general-purpose and dynamic-type language, You can also use it with Ruby on Rails framework to develop for the back-end.