VSvijay srjinvijaysrj.hashnode.dev·Oct 28, 2021 · 3 min readPublished my first eBook!The Gang of Four Design Patterns are often hard to get . Most of the articles on the internet are generic or too complicated to understand. I wrote a book which solves this by providing an easier explanation of all the 23 design patterns with use cas...00
VSvijay srjinvijaysrj.hashnode.dev·Mar 19, 2021 · 5 min readTop Java 16 features for improving Java developer's productivityJava 16 just released. Though a lot of new features were introduced only six of them need to be understood by day to day java developers. Here are those features: Records Pattern matching for instanceof Sealed classes (Second preview) jpackage packag...00
VSvijay srjinvijaysrj.hashnode.dev·Dec 23, 2020 · 8 min readHow to watch a directory in Java?Let’s say you want to watch a folder in your computer or server for any changes. If a new file gets added you want to be notified. If an existing file is modified you want to be notified. If a file is deleted you want to be notified. And how do you d...00
VSvijay srjinvijaysrj.hashnode.dev·Dec 2, 2020 · 2 min readA recipe to implement print functionality efficiently in JavascriptJavascript provides the method window.print() to print the entire contents of a html page. There are two problems with this approach: You cannot print part of your HTML page. If you have a print button to print the page , even the button shows up in ...00
VSvijay srjinvijaysrj.hashnode.dev·Nov 12, 2020 · 1 min readTips to save time writing console.log() in JavaScriptconsole.log() is of great help for debugging Javascript code . But writing them is time consuming. You can save time by following these two tricks: Enclose variables in curly braces : console.log({input}) instead of console.log(“input”,input) Create ...00