Question:
Java , python, or HTML ?
matt c
2011-07-10 01:50:15 UTC
I'm trying to decide which to learn I know very basic programming such as loops and if statements I eventually would like to turn it into a career.
Eight answers:
peteams
2011-07-10 02:56:10 UTC
HTML can be eliminated immediately; it's not a programming language, it's a markup language (HyperText Markup Language). It describes how text pages link together and allows the inclusion of a little bit of formatting. HTML does not include loops or if-statements.



So Java or Python? I would argue in favour of Java since it is a compiled language, that means you get to know all about certain types of error very quickly; Python is an interpreted language, which means you may not find out about those errors until somewhat later.



Java is also more of a full scale programming language with features to support large scale development, whereas Python is more targeted at writing smaller binding logic. While initially you'll only be writing Python-scale software, if you start with Java you'll not fall into bad habits; if you eventually adopt Python, starting with Java will mean your Python coding will be better.



I would also suggest you look at C#, Microsoft's answer to Oracle's Java. C# has some advantages over Java. One of the advantages is that Visual C# Express is a single download and you're good to go, working out what you need to download and install for Java can be a touch trying.
2011-07-10 08:59:12 UTC
HTML is the most basic programming there is. So if you don't know a single thing about programming I'd start there, but since you stated you have knowledge of if statements and such, you should start learning Python or PHP programming. There isn't much of a major difference between the two except for the fact that you type the language is different. If you would like to go farther, lets say for gaming development purposes, then learn the item-oriented programming languages such as Java and C++. Again, the real major difference between Java and C++ is they have a different style of how you would type the language, and Java has poor memory management and might use up some unneeded memory.
green meklar
2011-07-10 16:40:24 UTC
HTML is not a programming language, it's a markup language. There are no loops or if statements to speak of. It's just a way of changing the look of web content.



Python IS a programming language, but I advise against it because it's not very useful. It's designed specifically as a language that's easy to learn, but as a result it has its own unique syntax and limited applicability in 'the real world'. It's like programming with training wheels: Sure, it's easy, but it's not useful by itself and eventually you're going to have to do the harder stuff if you want to get anywhere. I don't see that Python is worth wasting any time with, unless you're working in a domain where it is specifically required.



Java, on the other hand, has a C-style syntax and is actually useful for real things. So if you want to learn programming, it is much better to start with than HTML or Python. Any programming language will take some time and some frustration before you get the hang of it, but I think if you concentrate on Java first, you'll eventually be glad you did that rather than going with something silly (like Python or Visual Basic) or something overly difficult (like C).



Incidentally, it turns out that if you combine the most modern versions of HTML and CSS, you actually can get Turing-complete behavior. However, this is kind of like saying that if you put together enough bamboo, you could make a floating bridge across the Atlantic; it's theoretically sound, but it's obvious why no one really does it.
nishi
2011-07-10 09:53:18 UTC
HTML is easy one but this is basically only to design static web pages u can learn furthermore CSS, javascript to enhance this



Java is a programming language and need to study hard for this but may help you in future to learn JSP and servlet technology so you can mke fullfledged web applications
?
2011-07-10 08:52:21 UTC
HTML is the easiest to code, Python is average and Java is quite hard if your intention is to code games using Java.
2011-07-10 08:54:36 UTC
HTML is best, Java is strong and Python is average.
nicefx
2011-07-10 08:52:34 UTC
java for learn every basic programming
2011-07-10 15:18:58 UTC
html is used to design only static web pages

java you can design anythimg


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...