
Easy documentation with Javadoc
There’s probably nothing programmers hate more than documenting their code. Fortunately for Java developers, help is at hand. The JavaDoc tool generates HTML documentation from comments we write in our code.
There’s probably nothing programmers hate more than documenting their code. Fortunately for Java developers, help is at hand. The JavaDoc tool generates HTML documentation from comments we write in our code.
I’ve mentioned Cross-Site Scripting, aka XSS, in some of my previous posts. And I’m sure you’ve heard of it as well. XSS is often categorised as either reflected XSS or stored XSS. And then DOM-based XSS was added. OWASP now categorises XSS as: Client XSS Server XSS Both of these can be either
When you auto-box integral primitives n Java to their respective wrapper classes, the wrapper classes cache all values from -128 to +127. This has practical implications that you should know about.
No, we are not talking about delicious double-chocolate cookies. Although I’ve really missed the fabulous Incus Data cookies during lockdown. As you know, cookies are small text files. They are usually created by the web server, but are saved and managed by your browser. Cookies can be harmless or incredibly
Occasionally during development, your program may crash with an OutOfMemoryError. What happened and how do you prevent it?
The Java compiler can warn you of potential problems. Should you suppress warnings? Some useful information on types of warnings and using the @SuppressWarnings annotation.
I believe in code re-use. You believe in code re-use. No-one wants to re-invent the wheel, especially not if there is a really great, aero-dynamic, ultra-fast wheel available. That’s why we use libraries and components. But those libraries and components are not written by super-humans. They are written by people
Higher-order functions are functions that either accept other functions as arguments, or return a function as a result. Let’s look at how Java 8 supports higher-order functions.
I hope that you already know that users hate meaningless error messages. (Actually they hate all error messages – don’t we all!) So that’s one reason to not allow default messages to display in your web application. But there is another important reason: security!
I mentioned before that I am writing an online course on ethics for software engineers (which is now open for pre-enrolment!) During my research for this course, I found an interesting – and scary – statistic.
Stay home. Stay safe. Stay informed. Find information at www.sacoronavirus.co.za
Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)
Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.
If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com