Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Takeaways!
You have completed Takeaways!
Preview
In this episode Java teacher Craig Dennis sits down with Go instructor Jay McGavren to discuss interfaces and Go in general.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
>> As a Java teacher,
I looked at some of the code, and
0:00
some of it looked familiar and
some of it didn't.
0:00
You got some time where
we could sit down and
0:02
take a quick look at the differences here?
0:04
>> Sure.
I know what you're on to here.
0:06
There's a lot of similarities
between Go and Java.
0:08
Yeah, let's take a look.
0:11
>> Cool, so this is the workspace
that you have up here, right?
0:13
>> That's right.
0:14
>> Okay, so package pets.
0:15
>> Right.
0:18
So, this is packages in Go.
0:19
They're just libraries,
basically, bits of reusable code.
0:21
I forget what the Java term is.
0:24
>> Jars.
>> Jars, right, yeah,
0:25
roughly equivalent to jars in Java.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up