Learning the java, I haven't found how to import inside any class. Is it possible before first class only? In the Python it's possible in any swathe of code. Is the Python better that the Java??

I don't know much about Python... the import statement has to be the first statement in a class (in Java). Where you can use wildcards and it does only build used classes of the library during compile time.

Do you know what you want to write yet? e.g. Applets and programs work a little different, use different methods to construct objects and have access to different libraries._________________Gentoo on Uptime Project - Larry is a cow

Programming is about not trying to reinvent the wheel. That is why java is viewed as one of the best because it has so much power on the OOP side. As for a other languages there are ones that create more efficient output and there are some that make it easier to create (easier syntax). As an bosses standpoint java is very productive since most of the stuff you can grab from other classes, which where already created and distributed for free, without doing any work.

Python is an at rumtime interpreted language where the notion of classes, objects, functions and basically everything is build around the concept of key-value (map). the import statement can thus appear anywhere in the code which is basically to say 'now read the definition of class/whatever' because I'm going to use it.

I'm beginning to understand... this java limitation ensures that a senior architect can fast see libraries that developers point on the beginning before a class. So he easy can see that developers don't use hacks from some libraries, for example, if the developer doesn't import the java.io.File then he cannot do manipulations with files. Then the Java are good for projects with many developers. Am I right?

I'm beginning to understand... this java limitation ensures that a senior architect can fast see libraries that developers point on the beginning before a class. So he easy can see that developers don't use hacks from some libraries, for example, if the developer doesn't import the java.io.File then he cannot do manipulations with files. Then the Java are good for projects with many developers. Am I right?

charly wrote:

Visual Basic

But it isn't supported in the Linux.

I was being саркастичний_________________"Isn't it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too?" - Douglas Adams

I'm beginning to understand... this java limitation ensures that a senior architect can fast see libraries that developers point on the beginning before a class. So he easy can see that developers don't use hacks from some libraries, for example, if the developer doesn't import the java.io.File then he cannot do manipulations with files. Then the Java are good for projects with many developers. Am I right?

Absolutely not. This just ensures that your code is not an ineligible mess. Think of it as of Python forcing you to indent.

The idea was to get zixnub to say something because I had a look at his wm and it's in java but he's disappeared _________________"Isn't it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too?" - Douglas Adams

public static void CamelFuckingCase
public int CantFuckingReadWhatImTyping
public void HowManyGodDamnTimesDoIHaveToSayPublic

Individual perspective...

For me this is considered "beautiful":

std::sort(data.begin(), data.end(), predicate)

Either use a predicate function or functor or implement an operator<_________________There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta

It seems creators of many languages never heard of the term Don't Repeat Yourself.

Dynamic languages are whole another clusterfuck.

How can you write a solid interface when your functions can take anything and everything?( just like a cheap prostitute)_________________There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta

The idea was to get zixnub to say something because I had a look at his wm and it's in java but he's disappeared

I'm sorry, I was looking at android.

Actually I wasn't but I thought that was a clever thing to say. Instead I was bussy refactoring my wm (current head in master doesn't even build properly) and get the bindings for Xcb automatically generated by swig (swig, not swing). Talking about swig, there is just NO java native autowrapper (except for swig) that can produce sane code (for xcb), let alone code, let alone run without blowing up and crashing. I was also bussy getting a decent jvm running on my raspberry pi._________________https://github.com/Zubnix/jaccallhttps://github.com/Zubnix/wayland-java-bindingshttps://github.com/Zubnix/westford

Last edited by zixnub on Wed Jul 18, 2012 7:02 pm; edited 1 time in total

It's more difficult than you think to get an entry level java position, but web development positions are abundant. I'd encourage you to learn coffeescript and apply for web dev jobs, playing up your coffeescript experience as javascript experience.

It _probably_ won't rot your brain, which is more than I can say for Java, _and_ there will be more viable job opportunities._________________

shickapooka wrote:

i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy

Java can get you a job anywhere in business middleware development, mobile devices (Android), Web dev and other "high level" programming..

Yes, you was right. I was learning the Java for 3 months and now I work as a Java developer (the middleware development). Today I've gotten my first salary.
Thank you all for an attention. The Java won in this topic.