| Author |
Message |
exsanguination Forum Regular
Joined: 27 Apr 2005 Posts: 418 Location: Australia
|
Posted: Thu Oct 18, 2007 6:10 pm Post subject: |
|
|
| SolidRaven wrote: | | Java is structure is a mess and the names of everything are too long. |
The structure of the java libraries can be a mess. Off the top of my head collection classes are in java.util which I think should elsewhere be java.collections, or perhaps java.util.collections, in line with java.net for networking etc. .NET got that right by putting them in System.Collections.
Names too long? Yes at times, but really, thats what code completion is for. I like Vim but when i do serious coding, its either netbeans, eclipse or xcode. I don't think it makes you better programmer to use bare-bones editors like ed or edlin to hack code and build scripts. Its just pretentious to ignore tools to make life simpler. |
|
| Back to top |
|
| |
LP-SolidRaven Dictator of the Dump

Joined: 06 Jun 2004 Posts: 7124 Location: The cheese is made out of moon
|
Posted: Fri Oct 19, 2007 9:51 am Post subject: |
|
|
| LP-Harvey wrote: | | SolidRaven wrote: | Elegance in making everything over complex?
Java is structure is a mess and the names of everything are too long. You also get absolutely no choice on your programming style in java. |
First off, complexity is in the eye of the beholder. I never understand why anyone calls it complex when I find it very simple. Keep in mind, Java was my foundation language. People's foundation language which is C or C++ will of course have a different opinion.
Also, you can argue having a uniform programming style makes module programing so much simpler. |
When you work in team with somebody you write basic code guidelines. At least that's how I always do it. You can than agree on something you both agree with.
Also in java you spend more time thinking about how java wants it to be written than anything else. Like once you use a single swing element in a java applet the class scope becomes an over complex hell that really isn't necessary. (And don't say it isn't true cause I actually tried to learn java a while ago, and that was before I really hated it)
| exsanguination wrote: |
The structure of the java libraries can be a mess. Off the top of my head collection classes are in java.util which I think should elsewhere be java.collections, or perhaps java.util.collections, in line with java.net for networking etc. .NET got that right by putting them in System.Collections. |
Now I don't see the point in putting "java." infront of every single thing in the first place, if you write something in java it's logical you'll want to use classes that are part of java. It also makes the names unnecessary long in fact.
| Quote: | | Names too long? Yes at times, but really, thats what code completion is for. |
Code completion is an annoyance in my opinion as the drop down menu often hides other parts of the code that you might want to see when making a choice for function parameters. Additionally you'll have to select something from the menu, while if the name is short you can just type it.
| Quote: | | I like Vim but when i do serious coding, its either netbeans, eclipse or xcode. I don't think it makes you better programmer to use bare-bones editors like ed or edlin to hack code and build scripts. Its just pretentious to ignore tools to make life simpler. |
For me a simple notepad application with tabs (to reduce the amount of open windows), code highlighting (not really needed), line numbers and support for unix, mac & windows line endings.
Most of those features are rather common in simple text editors these days. (Like gEdit)
I really don't know why people think java is so great.
It loads slow, the code isn't exactly readable compared to C and more things like that. Additionally it's hyped these days due to the "OO > anything" people. _________________
| Quote: |
<bart416> I just realized something
<bart416> we celebrate the fact that this piece of rock made one rotation around a glowing ball of plasma that is kept together due to its own gravity well
<njsg> HAPPY NEW YEAR
<Easter> ^^
|
|
|
| Back to top |
|
| |
Necromis Lifeless on my Boat

Joined: 11 Apr 2005 Posts: 752 Location: USA
|
Posted: Fri Oct 19, 2007 11:52 am Post subject: |
|
|
I do have to agree that I didn't find Java too dependable, and it is the way lots of people are heading. My IT dept is moving towards Java on all our internal applications and they suggested I learn it since I have the logical head to become a good coder. I made some efforts to start to learn it from the tutorial books that I have access to, not just online tutorial websites, and the code created exactly how they showed would not run or compile. Even with the exact version of java the instructions referenced.
On the same note I have NEVER had any compilation or execution issues using VB.net. Whether it be my own code, tutorial code, or sample code from other programmers assisting me with a solution. Java isn't friendly at all. IMO. |
|
| Back to top |
|
| |
martin Cafe Montevideo

Joined: 17 Mar 2005 Posts: 1030 Location: Uruguay
|
Posted: Sat Oct 20, 2007 12:05 am Post subject: |
|
|
As some of you said, Html is not a programming language. My favourite programming language is PHP because it has a simple syntax, it's easy to learn, it's under development and has been developed for many years, it's modern, flexible, it has millions of possibilities. I learned a little bit of C# (for the University) and I hate it. _________________ http://martin.com.uy
http://cafemontevideo.com |
|
| Back to top |
|
| |
Pie32 Not Banned

Joined: 17 Mar 2005 Posts: 1438 Location: Lost in 84
|
Posted: Sun Oct 21, 2007 1:38 pm Post subject: |
|
|
The best is C with classes. That is, use C++, but avoid libraries with stream in their name (like iostream or stringstream), instead use the C equivalent (stdio or... the C++ class std::string).
Java is awful. I do not want to capitalize the first letter of a class name, that's just stupid. Plus, all the shady-ness by claiming there are no pointers when in fact every reference to an instance of something is actually a pointer... I just want to do garbage collection myself, is that really too much to ask? _________________ [img]http://luneknight.com.ru/counter.jpg[/img]
Random Battle: [img]http://luneknight.com.ru/l.jpg[/img] vs. [img]http://luneknight.com.ru/r.jpg[/img] |
|
| Back to top |
|
| |
|
|
|