Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Basics Using your New Tools Errors

What does Craig Dennis mean by im not perfect?

I do everything right and I am without flaws. :'(

Mike Omaliko
Mike Omaliko
3,995 Points

Like how Craig Started this video... I laughed so hard. best tutor so far.

13 Answers

Haha! So far im enjoying your java course!. I've been real back and forth with C++ and python. I've went through Kenneth's python course and now i'm moving on to Java and realized i've lost touch with basic things like adding a semi colon to the end of a line. You guys came just in time. I need some java skills if I wanna get this internship with Lockheed Martin. Thanks!

Woah now Craig Dennis, that sentence didn't end in any punctuation.

Craig Dennis
Craig Dennis
Treehouse Teacher

Awesome! Every time I take one of Kenneth Love 's courses I litter it with Java syntax, and I was a Python programmer for 7+ years! I feel your pain.

Best of luck with the internship! Keep me posted on what you think of the course!

thanks! what do you think of learning two or three languages simultaneously? i've went through the basics of many but i'd like to stick with one and really excel at it. how did you go between python or java? or can you maybe blend java objects with some python scripting? Thats probably the hardest thing for me, knowing what to learn and how to make it marketable in a job.

Casiey Lebron
Casiey Lebron
3,187 Points

LOL!. Graig, you are the real MVP

Most epic question ever lol

Brett Connolly
Brett Connolly
12,874 Points

Random note, if you slow down Craig's videos, he sounds like a very convincing drunk.

Craig Dennis
Craig Dennis
Treehouse Teacher

Gotta keep moving fast, otherwise I'm gonna throw it all away on booze.

Jisan Zaman
Jisan Zaman
3,363 Points

Hey Aboubacar,

I think as a beginner programmer, it is definitely better to learn to one language and delve into it deeply. Essentially, programming concepts in all languages are the same and all you need is to get familiar with syntax and how the language is used within its ecosystem.

For example, I currently have a job now as a Software Engineer because I learned the MEAN stack in JavaScript. Currently, I am learning how to be an Android developer. While Java is significantly differently from JavaScript, all the principles are the same and these courses seem about 1/20th as difficult as they did before I attempted to learn this without knowing one language easily.

And whenever you go to work at a new place, it's basically like learning a new language learning all fo their code and where you can fit in. But if you have deep foundations in the language/and or programming, you should be good to go.

Hope it helps.

Best, Jisan

Thank you for the insight man! I really want to get my foot in the door and i think thats the way to go. I'm gonna try to stick to one thing and master it before anything else

WHAT I M NOT PERFECT?!?!?!??!?!?!???!??!? WHAT A CRUEL WORLD!!!!!!!! ps the text looks really weird it's different sizes

He took my breath when he said i got bad news for you.

Nathan Jenkins
Nathan Jenkins
419 Points

Haha yeah me too, my face just dropped but no idea why.

Sean Flanagan
Sean Flanagan
33,235 Points

I think Craig was stating the obvious (or what's obvious to me anyway). We all make mistakes. I know I've made a lot in my life including whilst learning about Java.

Don't be put off learning, as mistakes are the only way to learn. Craig isn't trying to patronise us; he admits that he isn't perfect either. Humility trumps arrogance.

Haha, That gets me

Taylen Pitt
Taylen Pitt
398 Points

Is this similar to JavaScript? thats really what i was after... I assumed that i could figure the difference easily is this true?

Brett Connolly
Brett Connolly
12,874 Points

As someone wisely said in an article I ready somewhere online, Java is to Javascript like car is to carpet. Or this site shows other examples: http://javascriptisnotjava.io/

They do share some similarities, like most programming languages, in syntax (if statements, for example) but they are definitely very different languages used for different purposes. Java is primarily a server-side language and is compiled (built into baser code for efficiency, first, then that code is used at runtime) while Javascript is primarily a client-side language (though has moved to the server now with Node.js) which is interpreted (converted into a lower level language at runtime).

If you're looking to get into back-end development or building Android apps, then learn Java. If you're looking to get into front-end development or building things to work client-side, then learn Javascript (though, again, it can be used server-side now thanks to Node).

I'm biased and learned Javascript as my first programming language and think that's a better language to learn first since you can easily build and run simple apps without needing a server environment setup to test. Javascript logically can do most anything most other programming languages can do. Running Java apps takes a little more legwork.

Hope that helps. In the end, it will benefit you to learn other languages as you get more comfortable at programming in general. Only increases your skill set making you a much better hiring candidate.

Akash Sharma
seal-mask
.a{fill-rule:evenodd;}techdegree
Akash Sharma
Full Stack JavaScript Techdegree Student 14,147 Points

Craig when you right click on a highlighted word(s) you can just click Search Google for <this> "...." instead of copying and then opening up google and then pasting