29 points · by shivajikobardan · 2y ago · 21 comments
These are the subjects that I am assigned to teach(each in odd and even semesters)
- Java(object oriented concepts+core java+advanced java)
This is a 2 semester course
Sample contents with reference books here:
https://csitprogram.blogspot.com/2012/08/csc-403-advanced-java-programming.html
- Data Structures and Algorithms(with practical labs in java)
This is also a 2 semester courses, this is not "java"ic, but I am going to make them do the labs in java as per the syllabus.
I am going through couple of books:
- Y. Daniel Liang
- Herbert Schildt
- Car S. Horstmann, Core Java Volume I and II – Advanced Features, 8th Edition, 2008, Prentice Hall.
- Y. Daniel Liang, Introduction to Java Programming, 9th Edition, Comprehensive Version, Pearson/ Prentice Hall.
- H. Deitel, P. Deitel. Java How to Program. 7th Edition, 2007, Prentice Hall.
Any guidance? This semester, I will be teaching java OOPs/basics, next semester it'll be advanced java then data structures and algorithms in another 2 semesters.
PS I feel I myself need to revise my java concepts, so feel free to recommend books/courses to me. I will try my best to do justice to the students who paid tons of money for these classes as this will shape their Software engineering future.
There is the old school - everything has an interface, with a concrete implementation and test implementation. OOM ORMs probably Hibernate. Lots of long winded naming.
Add some functional features in Java 8, streams, lambdas but still kind of a hybrid. Scala & Kotlin distracted much of the purely functional people but has influenced Java a lot to complicate what normal Java looks like.
Spring has a huge influence and probably is still the defacto framework to build in.
Sprinkle in some Clean code culture - (4 line functions) which got really popular but has died off.
Add reactive programming. You need async in single threaded languages like JS and Python, and you need async in high performance applications. Its toxic for most projects but has nonetheless been enthusiastically adopted and corrupted many a code base.
I like Vertx because its a complete break from Spring and much simpler with less magic, but it hasn't really gained enough popularity.
Java 17/21 added a bunch of new concepts like Records which some people have adopted Java into DDD style that is completely new.
So "Java" can mean so many different styles now its impossible to have one recommended textbook. Bloch you can't go wrong but is kinda basic construction rather than higher level guidance. I like "Vert.x in Action" but in general its not a good standard Java text. I'm kinda curious what others will suggest.
Depending on the codebase one will be working on, it is probably beneficial to have lived through this entire history, so that one can discern which paradigm is hype or here to stay.
I wonder what approach in teaching students is most useful to become a decent software engineer. Is "history of software engineering" a mandatory course in most universities now?
I thought it was one of the pithier books & it gives both good advice and explanations of why it's good advice in each case.
There's some stuff that felt dated even for its time. For instance, GUI programming with AWT / Swing. It's super disappointing to spin up a GUI and have it look... well, like Java GUIs do. As a student, it can be a bit demoralizing to spend a bunch of time and effort only to end up with something that looks so stupid and unfinished.
On the whole, though. Great book.
Another way to think of this would be — what is covered in the Horstmann book better than the Liang book. What are topics that are missing from your already chosen book that your students would benefit from?
Just to bring more clarity. This is a public forum so questions and answers are really directed at everybody.
This situation is pretty common and has existed for time immemorial - undergraduate tutor's are not likely to be seasoned developers with significant real world experience - at least outside the top tier of institutes.
Many new hires / junior devs seem to have had this experience, and often come in lacking any knowledge of pretty important concepts like version control, testing, http, etc. It's ok, they have the basics and can learn on the job but I do often wonder what it would be like if the curriculums mirrored the real world better.
OP, hopefully no offence taken, the fact your coming here asking makes me think you'll do a fantastic job of this course!
I don't have a java book recommendation, but if you could try and squeeze in aspects like testing, http frameworks, git and the basics of a Linux terminal you'd really be helping the students with prospective job interviews :)
Edit: Wow just read course curriculum, Swing, CORBA, Servlets - throw in some XSLT and I am reliving the late 90s. OP - any chance you could swap some of these out for more modern solutions? Web interfaces / Rest / Dropwizard, spring, etc
'The Java Programming Language' - by James Gosling.