Results 1 to 19 of 19
- 05-10-2009, 03:40 PM #1
Member
- Join Date
- Apr 2009
- Posts
- 49
- Rep Power
- 0
As a java beginner what would you like to see in a video tutorial?
hey guys,
I understand that the majority of people using this forum are extremely well versed in Java, however back in the days when Java was a foreign word to you - did you ever have any difficulties with either your teachers notes, online tutorials etc etc? and if so what do you think would be the most beneficial foundations you would have liked to have been explained via a video tutorial?
The reason I ask is that I am about to commence tutoring a subject in Adv Java and have been asked to put together a series of video tutorials as a catch up for the students, however I would like to create my videos with the no pre-assumption of knowledge of the language.
Any help would be greatly appreciated,
David
- 05-11-2009, 08:31 AM #2
Member
- Join Date
- Feb 2009
- Posts
- 6
- Rep Power
- 0
hi ........i m new in java......
can anybody tell me about JSP versions and what the differece b/w versions and how compatible with struts different versions?
- 05-11-2009, 11:14 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
I don't think this is related with the learning curve. It's all about the latest/updates about the technology. I think you should aware of that, before update your versions.
Original poster is talking about the learning curve. Correct me if I'm wrong on your thoughts.
- 05-11-2009, 11:16 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
I suggest one for the naming conversions. It make a real difference when we are looking into others codes.
- 05-11-2009, 11:40 AM #5
Member
- Join Date
- Mar 2009
- Posts
- 25
- Rep Power
- 0
Coming from C to java, I really had a hard time comprehending Constructors.
Lets see, what else can be useful..
- do, do while loops
- for, for each loops.
- conditional statements (x == y ? true : false), if/else, switches
- escape characters
- different ways of receiving input from the user (BufferedReader, Scanner).
- Reading/Writing a binary/text file and using the split method to grab the information you need.
- how java does regex, using the Pattern and Matcher classes
- changing the flow execution in a for/while loop using the continue and break keywords.
- 05-11-2009, 01:00 PM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
If you put all those things into a one, not a good idea lol. For me there are three categories.
Java Flow Statements
# do, do while loops
# for, for each loops.
# conditional statements (x == y ? true : false), if/else, switches
# escape characters
# changing the flow execution in a for/while loop using the continue and break keywords.
File I/O
# different ways of receiving input from the user (BufferedReader, Scanner).
# Reading/Writing a binary/text file and using the split method to grab the information you need.
Java Regular Expressions
# how java does regex, using the Pattern and Matcher classes
What you think about that?
- 05-11-2009, 02:47 PM #7
Member
- Join Date
- Apr 2009
- Posts
- 49
- Rep Power
- 0
hey guys, thanks a lot for all of your information, I will begin constructing the videos tonight.
Do you think its better to teach the basics in a known IDE, i.e. Eclipse or Netbeans or a notepad compile scenario?
Again, thanks
David
- 05-11-2009, 06:26 PM #8
Most everyone here will tell you notepad, I think I'm the black sheep who started learning it through an IDE(granted it was QBasic and the "IDE" was really just an over glorified command prompt). I think there are a done of helpful things that an IDE offers the noobie. Auto-import and refactoring are nice but the beginner doesn't really need those. The dot reference listing thing is the most helpful tool I can imagine when learning something new.
Take for example a simple exercise to reverse a String. I would have spent hours staring at my computer not knowing what to do when I first started but being able to just type stringName. and have it give me a list of methods I can figure out things myself and learn other tricks that aren't necessarily required.Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.
- 05-11-2009, 07:35 PM #9
Senior Member
- Join Date
- Sep 2008
- Posts
- 564
- Rep Power
- 13
i suggest covering debugging issues, especially the common compiler errors.
- 05-11-2009, 07:46 PM #10
And the difference between stepping over/into/skipping etc. Things like NPEs can easily be fixed by following a debug and seeing the exact line where it goes null. Maybe compare between different IDEs. I hate Eclipse's debugger but I loved JGrasps..or maybe it was JCreators.
Also when introducing inheritance start showing UML diagrams. They help a lot, and from a college student/intern programmers perspective, the first time I was handed a design schema and told to write the skeleton API I nearly panicked until I realized it was just a UML diagram.Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.
- 05-11-2009, 07:51 PM #11
Senior Member
- Join Date
- Aug 2008
- Posts
- 384
- Rep Power
- 13
regex in a beginner tutorial? Must have missed something.
But, indeed, one of the most important things would be understanding compiling errors and teach'em ways to debug (also without any debugger, but just using System.out.println and such.I die a little on the inside...
Every time I get shot.
- 05-12-2009, 12:29 AM #12
I would suggest teaching things which are code independent and relate to computer science, not the syntax of the language. Teach them things like sorting and graphics algorithms, polymorphism, etc. csanimated is a good example
Last edited by Mr.Beans; 05-12-2009 at 01:01 AM.
- 05-12-2009, 07:33 AM #13
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
No, it's not a good idea. Best thing is explain about the workaround on Notepad + Command Prompt. Actually that process you can split into two.
- Setup Java CLASSPATH, basically about the system environment variables
- Coding, compiling and running a simple Java class on Notepad
- 05-12-2009, 08:38 AM #14
Senior Member
- Join Date
- Mar 2009
- Posts
- 552
- Rep Power
- 13
So... the big question here is... are the students using an IDE. If they are, then you most likely want to use a common one. If not, then go through notepad. Another thing you may want to cover, (possibly with constructors) is arrays. They got me for a while before I learned that using Array[] myArray = new Array[arraySize] does NOT actually create an objects in the array. All it does is allocate memory.
As for debugging... if you are using an IDE, cover the common Exceptions/Errors. If not, do that but ALSO cover System print statement usage for debugging.
I hate Eclipse's debugger but I loved JGraspsIf the above doesn't make sense to you, ignore it, but remember it - might be useful!
And if you just randomly taught yourself to program, well... you're just like me!
- 05-12-2009, 05:38 PM #15
That's exactly how I handle all debugging for the most part. It's easy to just comment out the print statements and when you come back months later you can uncomment them and see what exactly is going on(because after a week I forget all basic workings of my code). I think the only hard part about it is knowing the flow. You have to be able to see if there is anything happening in the background you might not be aware of.
However as far as teaching CS stuff over Java stuff I think it really depends on if this video tutorial is a Programming tutorial that happens to use Java or if it's a Java tutorial. If it's purely Java then there might not necessarily be a reason to go too in depth into things like sorting algorithms, big O notation, discrete math(set theory, logic proofs, recursive reasoning, etc) as important as all that stuff is for CS it isn't really that important for just Java.Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.
- 05-12-2009, 06:30 PM #16
You should really learn how to debug properly. Eclipse has an excellent debugger, allowing you to do stuff like browse object trees and view specific stack frames. How are you supposed to know if 3 threads are in mutual deadlock by using println?
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 05-12-2009, 06:40 PM #17
carefully....
Most of everything I know has been self taught. When I get to the point where I'll have to check if 3 threads are deadlocked then I'm sure the debugger will be very valuable and I'll learn to use it. But for something like determining a NPE it seems easier to just have the newbie write
Java Code:if(object == null){ System.out.println("Object is null"); }
Liberty has never come from the government.
Liberty has always come from the subjects of government.
The history of liberty is the history of resistance.
The history of liberty is a history of the limitation of governmental power, not the increase of it.
- 05-12-2009, 06:56 PM #18
In my opinion the purpose of teaching is to teach, not to increase school averages and create generations of sloppy code-hackers.
Your example requires knowing that "object" is what's causing the problem, editing the source after the exception is thrown, trying again and repeat. If you use a debugger, and NPE come up, one click will tell you exactly which object(s) are null and what lines they were assigned at.
Lean to use the tools that will make your life so much easier.Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 05-12-2009, 07:25 PM #19
Member
- Join Date
- Apr 2009
- Posts
- 49
- Rep Power
- 0
hey Guys,
Once again, thank you all very much for you input - I have been using Eclipse and Netbeans from the beginning and to be honest I have found the debuggers to be brilliant in both IDE's!
I have no previous knowledge of the student's background however they will be using Netbeans and Eclipse in their class; this decision was made by the faculty leaders who have been informed that the 'corporate environment' seeks students with skills in Eclipse/Netbeans as opposed to the classical notepad method (which I'm not saying is a bad thing).
Again, thank you all for your input.
David
Similar Threads
-
Java beginner, need some help on a simple tutorial? :D
By mootxico in forum New To JavaReplies: 1Last Post: 03-15-2009, 04:50 PM -
New Java Video Tutorial Site thebestvideotutorials dot com
By thebestvideotutorials in forum New To JavaReplies: 0Last Post: 02-16-2009, 12:43 AM -
Video tutorial on EJB
By mdeepaks in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 01-31-2009, 06:57 AM -
Video Tutorial Eclipse 3.3 Create Web Application with Tomcat
By irnbru in forum EclipseReplies: 1Last Post: 10-05-2008, 12:09 PM -
beginner to Java
By notwist in forum New To JavaReplies: 15Last Post: 04-18-2008, 10:41 AM
Bookmarks