Hi abudahim,abudahim said:As we know, C allows using arithmetic expressions in control statement whereas in Java only Boolean expressions are allowed.
which do you think is better in this specific aspect ?
I do not see the advantages to have intricate statements in a program whatever the used language. You may also have excellent performances with simple statements if they are well managed.abudahim said:hi Chicon
so you think it is a matter of readability ?
java in this aspect is more readable than C ?
absolutelyChicon said:I do not see the advantages to have intricate statements in a program whatever the used language. You may also have excellent performances with simple statements if they are well managed.
Java is theorically more readable than C but you may also find very nasty codings in Java that make the programs use all the memory and processor resources because its developpers don't master Java and its numerous possibilities.
When you develop a program, you must not think only about the reaching of its objectives but also about its performances, its readability in order to easily bring future modifications, its reusability in order to avoid rewriting many times the same piece of coding, its eventual usage by non programmers, and so on.
Hi All,blaqDeaph said:Usually, readability is not the most important aspect of programming, unless you are working in a large development team (even then, this is not always the case).
Personally, I try to stay away from Java because for all the strong points about it, it has some glaring weaknesses, and is still property of Sun, which owns the sole VM and development tools.
Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.
If you're not already familiar with forums, watch our Welcome Guide to get started.
Join over 807,865 other people just like you!