Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!

Peter Verhas

Author
+ Follow
since Sep 14, 2018
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
6
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Peter Verhas

You are very much right and I am happy that there are people who see my book like that. Officially the book is for beginners and that is the reason why it starts with installation and pre-programming things. On the other hand, I wanted to get far enough and Java is a large topic, and the paper is limited.

I think that the target audience if beginners who had some experience programming and want to be professional and not just toying around with programming. It may happen that some reader will get stuck at some point, some of the topics may not be clear enough for everybody (perhaps because some basic knowledge to build on is missing). Even in that case, the text will ring some bells later. It will happen that you read the text, you do not fully understand and then in a year you have an "Aha!" moment during work and then you, hopefully, return to the book to reread that part.
1 year ago
I am not much of a front-end developer, but my bet is that front-ends will be browser-based and it will be ruled by WebAssembly.
1 year ago
It is not comprehensive. This is an example demo. If I wanted to have a comprehensive application for that it would have taken the whole book.
1 year ago
Java 11 works like charm. You can see some OSS examples like jamal and javageci in my github repos if you are interested. I think these prove that Java 11 is not a toy.
1 year ago

I especially loved the note in the section on overview of sorting algorithms where you ask the math geeks not to curse you.



You are welcome. You can also read my blog at javax0.wordpress.com that may help you to decide if you like my style or not. If not, I do not take that personally, you cannot fit everyone's taste. My wife likes my style, that is important. In my home, we have more than thousands of books, some of them older than 100 years. You should never scrap a book. Books are sacred.
1 year ago

I know the Python community has a bit of a rift over Python 2 vs 3.  Is there anything like that in Java?  Are there any advantages at all to starting in something other than the latest?



Python version 3 is not compatible with Python 2. This actually makes that change very different from the change of Java. Java is mainly backward compatible.

As for learning Java I recommend that you start to learn Java 11 and if you face a project that uses Java 8 or -- God forbid -- Java 6 then you will learn what NOT to use. You may face some old legacy code that uses Java 6, but they will run fine with newer versions of Java, unlike Python 2 code that fails many times on a Python 3 interpreter.
1 year ago

The book already has a lot of content. What are some supplementary studying you recommend to review in addition to the book?



You can read other packt books and watch videos. You should also download the code samples of the book that are available from Packt.

What are the topics, if any, you wanted to include in the book that did not make the final version?



There are a lot of topics that I can talk/write about, but none that I wanted to put into this book and it could not make it. We started the book with the content editors of Packt identifying the targeted audience and then working out the structure of the book until we had an agreement what should go into the book. I had to argue long for the last chapter. The last chapter gives some carrier advice to novice programmers and what else they can learn in the coming years. Such a chapter is usually not part of a book of the type, but I insisted and packt finally agreed.

1 year ago
"Mainly out of self-preservation, I always try to wait 6 months or so before moving to the latest major release of Java."

Btw: you should not. You should install the latest beta version of Java an play with it, try it out. Also, download and play with the version that contains preview version of continuations from project Loom and another that contains value types.
1 year ago
Coping with the major release changes and which release to use is the task of a CTO and not a novice programmer. Because the book targets the novice programmers who want to learn Java this topic is not in this book. Nevertheless, this topic is really a hot potato and I just wrote an article about it recently that will be published by my employer, EPAM Systems. I cannot give a URL at the moment. It will also be translated into Russian.

I do not think that having an LTS release every three years is too often.
1 year ago
There are some features of Java 11 that I am not addressing in the book. It is by decision. The book is to novice programmers who learn Java just now. The change how nested classes access control changed in Java 11 is a topic that a developer should understand only later and presenting it would only have confused the novice programmer. The same way there is no comparison to older versions. You learn the state of the art Java, why learn the older version. (Well, yes, for a short while you may work on a project at a company that uses an older version, but then you will just accommodate to that.)

Nevertheless, I reworked the code samples of the book from Java 9 to Java 10/11 so that I extensively use the predefined type 'var' in the code samples.

As for Java 10 features: these features are also Java 11 features, they were not deleted from the new version, were they?
1 year ago
This question is very much off-topic. I recommend that you ask this question in a different forum on Coderanch.

If I were in your shoes I would also specify what "remote access" in this case means. If you want to reach the web pages served by Tomcat then it is very straightforward. If you want to debug an application remotely then you have to start Tomcat in debug mode. Btw: there is a chapter about it in the video:

https://www.packtpub.com/networking-and-servers/java-network-programming-recipes-video

Regards,
Peter
1 year ago
The book is aimed to developers who learn the Java programming language now and have some prior programming experience with other languages. It teaches you programming practices and styles along with Java. As Java has the latest version 11 now it is using this version. Because of that, the book does not contain a comparison to earlier versions. There are volume limitations (the book is 500pages even now) and it may also confuse someone who has no prior experience with Java.

If you are interested in the differences between Java 8 (the last long-term support release before 11) and Java 11 then I recommend

https://www.packtpub.com/application-development/mastering-java-9

and the new release of the same book

https://www.packtpub.com/application-development/mastering-java-11-second-edition

or you can watch the video

https://www.packtpub.com/application-development/java-9-new-features-deep-dive-video

regards,
Peter Verhás
1 year ago