Originally posted by Filipe Fedalto:
Hi all,
I don't mean to state that NIO is or isn't better than traditional IO. I am asking it regarding the SCJD choices path that one can make.
So, I started my project (URLyBird, for instance) using traditional IO. So far so good. However, I am somehow intrigued with the possibility that there could be some benefits in New IO that I could be missing. Most important, that these left-out benefits could cost me some points.
Could that happen? Is there some invaluable benefit (as to the SCJD specification) that could only be accomplished with NIO?
I am profficient with traditional IO and this would be my choice. However, as you may see, I am not so good at NIO. Therefore this uncertainty is ringing some chimes and raising some doubts as to whether I could be losing something.
What could you say about it?
Thank you all in advance.
Filipe Fedalto
Cafe Javanes - www.cafejavanes.com.br
Eben Hewitt. SCJP, SCWCD, SCJD, SCJWSD for JEE 5, TOGAF 8 Certified Architect, author of Java SOA Cookbook (O'Reilly, 2009) and contributor to 97 Things Every Software Architect Should Know
You may develop your own code using any [production] implementation of the Java 2 platform ... [that has not] been superseded by a new production version for more than 18 months by the time [of] your submission.
Originally posted by Julian Kennedy:
Ha! Nice one Filipe! You'll be wanting to use unions next! I do occasionally miss some of the old C constructs. On the plus side we're getting enums, varargs and printf-like output formatting with Tiger (Java 5) so I don't think I'm alone.
I'm not aware of any convenient way of doing what you want. I had a brief go at implementing a struct-like class with a constructor that accepted an array of bytes but came completely unstuck! I think that may have been a little naive. :roll:
I think the key words on my assignment are (paraphrasing):
Anyway, on with the assignment (mine's B&S). Have fun.
Jules
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |