The talk was given at 2007 but C# satisfies what he claims it doesnt which is multiple resources in a single using statement. Java 7 has just come with try(Resource)
@IAmMediocreAtBest Java has never been fast compared to a real compiled language (like C++ or Fortran). That's not the end of the world but when you market is as a full general purpose programming langue it leads to problems.
@jabberwock11 Remember the old commercial showing java and C# running an application and java was faster. Then when .NET 2.0 came out they had to take it down because .NET 2.0 KICKED their rear ends. I am not sure about C++ or Fortran though. I like developing in java a lot though I must admit. Twas brillig and the slithey toves did gyre and gimble haha good name I love MR. Carrol
Hmm well I respect what you all have said here but in general its not really a matter of speed anymore at all, now you could argue all day on which is a better language and what is faster but there are good points to each side and it all depends on what you are actually trying to develop yourself.
he did not undrstand the c# using statement. it can have multiple resources and ich has an action at the beginning and at the end. how else would the resource be closed if not by calling a method at the end?
This guy has a great mind. I have over the past 2 years read about 15,000 pages of IT books to learn java/sql/jsp/javascript/ajax etc, but Joshua's Effective Java is the best by far in terms of content and clarity, especially once you get going with Java.
Stop arguing over which language is better and what not. It is a mistake to get to "attached" to one language. Every programming should be treated as A tool, but you already know that. If you have a hammer as the only tool, you will define each problem as a nail.
I agree. I was forced into using java for my degree, I resented it for the first year, then grew to like it. But still, if I have to do something, I'll usually do it in C++. Jython looks pretty cool.
as you know it's very hard to know all programming languages with all of theirs specifications, and I always like to have best tools to do my job. Java is my great tool.
java 5 is more complex then less versions, but c++ is complex, also. for example AUDI is using java with special embbeded cpu's read object code directly. the language is also that good, it should be used for. java has a good place, specially for business application - web based. i am developind and design huge j2ee bussiness application. java compared with the spring framework is a very powerfull tool getting things done, effective. u can also emmbed script languages in the jvm - like groovy.
If you've ever coded Java, or, used a large java program, you will know that Java just doesn't cut it compared with the likes of C++ or C. Give me C++ and QT4 over Java and SWING ANY DAY!! Oh yeah, and the whole VM thing hahahaha.
With Java around 20 times slower than C, I think I'll stick to my C based languages thanks. Just because of the speed issues alone, there are a whole host of problems that java doesnt work well with. Until native compilers are developed and used more-so (which will throw some of the benefits you mentioned out of the window), then it'll always be bad news IMHO. For mobile phones and the like, Java is great.
I think you are wrong C++ can do most of these provided you use the right libraries (And C++ can source can be platform independent).
Java is slower than C++, well you may be surprised that large Java applications may perform better than an equivalent in C++.the reason for this is that Java code is automatically optimized, where else in C++ the programmer has greater control and tends to miss use it and introduce performance bottlenecks. Theoretically however C++ is faster than Java
ya you are right C++ is a very fast language, But when it comes to robotics , that means chips i think java is awesome.... But C++ is a great language...
One of the best interview i have ever seen in my life...... it would be great to watch his presentations more. I am actually a novice developer in Java, i feel more great to learn from these legends or Java Guru. I have watched it more than 5 times, its awesome
four years later - still no closures - he needs to be smarter.
BeerlessInGaza 2 months ago
Make sure you check out the part between all the ads and silly music, where Joshua Bloch speaks for a little while. That was the best bit.
fletchgqc 3 months ago
The talk was given at 2007 but C# satisfies what he claims it doesnt which is multiple resources in a single using statement. Java 7 has just come with try(Resource)
h2o2m3n 3 months ago
This has been flagged as spam show
SHANE WARNE TOOK DRUGS! DELETE ALL HIS RECORDS!
australia1nbr1 7 months ago
thanks for this video. really useful.
i like how mr. bloch lays out his ideas in such a methodical and logical fashion. really shows you how his brain works on the inside. :-)
neeraj2608 9 months ago
that's a really good idea.. a good generalized using statement cool I wonder what he thinks about functional programing paradigm
IAmMediocreAtBest 1 year ago
gur8t!
milaxxo3 1 year ago
Effective Java Programming == Make sure you are writing an application that doesn't have to run fast.
jabberwock11 1 year ago
@jabberwock11 java used to be so fast until .NET 2.0 their eyes were wifling through the tulgey wood
IAmMediocreAtBest 1 year ago
@IAmMediocreAtBest Java has never been fast compared to a real compiled language (like C++ or Fortran). That's not the end of the world but when you market is as a full general purpose programming langue it leads to problems.
jabberwock11 1 year ago
@jabberwock11 Remember the old commercial showing java and C# running an application and java was faster. Then when .NET 2.0 came out they had to take it down because .NET 2.0 KICKED their rear ends. I am not sure about C++ or Fortran though. I like developing in java a lot though I must admit. Twas brillig and the slithey toves did gyre and gimble haha good name I love MR. Carrol
IAmMediocreAtBest 1 year ago
Code-Designer more than real programmer
zeusakm 1 year ago
He has awkward gestures. Just watch the body language, haha. smart guy tho
axeVmanVzero 1 year ago
When in doubt, leave it out!
Nicolea9000 1 year ago 2
@Nicolea9000 PREACH BROTHER!
stopthrm 11 months ago
I'm sure this is a guy that you can't hate. He's too friendly too be hated.. Smart as well.
tehbombson 1 year ago
ludique comme pédagigie
AliLaPointe100 2 years ago
This has been flagged as spam show
New gaming forum gamezstorm(dot)info if you're interested in gaming, computer programming or webdesign show your support and register there!
FrostyElite 2 years ago
Hmm well I respect what you all have said here but in general its not really a matter of speed anymore at all, now you could argue all day on which is a better language and what is faster but there are good points to each side and it all depends on what you are actually trying to develop yourself.
sanbao88 2 years ago
he did not undrstand the c# using statement. it can have multiple resources and ich has an action at the beginning and at the end. how else would the resource be closed if not by calling a method at the end?
bromdampf88 2 years ago
@bromdampf88
what.................?????????????
Aanhaful 1 year ago
@Aanhaful NOPE.Avi
stopthrm 11 months ago
Thank you so much for the information,
I really enjoying it.
greendayra 3 years ago 11
im a computer science major can anyone suggest any books for me
sorahearts1 3 years ago
What kind of Software or Hardware do u want to learn?
atlaschooty 3 years ago
Sooooo when in doubt leave it out? How can the human race progress from this point on lol
macabre2007 3 years ago
how do i get java
hackersgut 3 years ago
really?
wow change your name
pentiumboard 3 years ago
THE INTERNETZ
bamboodlesh 3 years ago
i'm lookin for a java certification any suggestions guys?
noigraud 3 years ago
This guy has a great mind. I have over the past 2 years read about 15,000 pages of IT books to learn java/sql/jsp/javascript/ajax etc, but Joshua's Effective Java is the best by far in terms of content and clarity, especially once you get going with Java.
chopinnocture 3 years ago
Stop arguing over which language is better and what not. It is a mistake to get to "attached" to one language. Every programming should be treated as A tool, but you already know that. If you have a hammer as the only tool, you will define each problem as a nail.
mmayan 3 years ago 2
I agree. I was forced into using java for my degree, I resented it for the first year, then grew to like it. But still, if I have to do something, I'll usually do it in C++. Jython looks pretty cool.
32GaugeSlug 3 years ago
I personally think it's best to get good a one language first. When you get to a certain level, then begin learning a new one.
ThThThThThThaMan 3 years ago
great point!!!!
pentiumboard 3 years ago
good example, programming languages are tools.
as you know it's very hard to know all programming languages with all of theirs specifications, and I always like to have best tools to do my job. Java is my great tool.
greendayra 3 years ago
java 5 is more complex then less versions, but c++ is complex, also. for example AUDI is using java with special embbeded cpu's read object code directly. the language is also that good, it should be used for. java has a good place, specially for business application - web based. i am developind and design huge j2ee bussiness application. java compared with the spring framework is a very powerfull tool getting things done, effective. u can also emmbed script languages in the jvm - like groovy.
fantasti00 3 years ago
This comment has received too many negative votes show
I hate java, it's bloated, slow, doesn't have pointers and has SWING. Need I say more?
32GaugeSlug 3 years ago
come on guy we have the year 2008 and we need programming languages for this year.Take your belief and use stone age technologies. ;)
P.S.: That you sa java is slow show that you have no knowledge about this language and their current implementation.
nocxsville 3 years ago
If you've ever coded Java, or, used a large java program, you will know that Java just doesn't cut it compared with the likes of C++ or C. Give me C++ and QT4 over Java and SWING ANY DAY!! Oh yeah, and the whole VM thing hahahaha.
32GaugeSlug 3 years ago
java's slower, but here are the advantages tha C++ will never have:
networking
platform-independence
automatic garbage collection
those are the main advantages, i could list all the others, but it would take a long time.
fishbowl998877 3 years ago
i forgot to mention reusable code
fishbowl998877 3 years ago
With Java around 20 times slower than C, I think I'll stick to my C based languages thanks. Just because of the speed issues alone, there are a whole host of problems that java doesnt work well with. Until native compilers are developed and used more-so (which will throw some of the benefits you mentioned out of the window), then it'll always be bad news IMHO. For mobile phones and the like, Java is great.
32GaugeSlug 3 years ago
I think you are wrong C++ can do most of these provided you use the right libraries (And C++ can source can be platform independent).
Java is slower than C++, well you may be surprised that large Java applications may perform better than an equivalent in C++.the reason for this is that Java code is automatically optimized, where else in C++ the programmer has greater control and tends to miss use it and introduce performance bottlenecks. Theoretically however C++ is faster than Java
wirajr 3 years ago
This has been flagged as spam show
҉̵̞̟̠̖̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̐̑̒̓̔̊̋̌̍̎̏̐̑̒̓̔̿̿̿̕̚̕̚͡ ͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿̿̚cancer ҉ ҉҉̡̢̡̢̛̛̖̗̘̙̜̝̞̟̠̖̗̘̙̜̝̞̟҉ ̒̓̔̕̚ ̍̎̏̐̑̒̓̔̕̚̕̚ ̡̢̛̗̘̙̜̝̞̟̠̊̋̌̍̎̏̚
D0NEIT4THELULZ 3 years ago
ya you are right C++ is a very fast language, But when it comes to robotics , that means chips i think java is awesome.... But C++ is a great language...
atlaschooty 3 years ago
You must be a poor C++ developer still writing destructors and using substandard threading models...
enlightenmentn0w 3 years ago
Its ridiculous how many languages there are.
FeelOfFriction 3 years ago
Ugh, generics, auto-boxing -- when did java become ersatz C++ in disguise? All that stuff is bloated crap.
When in doubt leave it out -- good advice.
Don't give into spoiled c++ curmudgeon programmer demands. Leave out all that unnecessary crap and go back to the good old days.
username42936432 3 years ago
c++ I think you mean c# ?
F00dTube 3 years ago
c++ and c# both have all that crap in them now.
emulator900 3 years ago
he is really a smart guy
michaeldeng1981 3 years ago 21
One of the best interview i have ever seen in my life...... it would be great to watch his presentations more. I am actually a novice developer in Java, i feel more great to learn from these legends or Java Guru. I have watched it more than 5 times, its awesome
bijesh1984 3 years ago
great advice! thanks for great interview!
sejinster 4 years ago
Great Interview. "When in doubt, leave it out" That's great piece of advice Josh.
Regards,
Nelson Ndegwa.
Kenya.
ndegz7 4 years ago