Postingan

5 Entertaining Posts From Stackoverflow - Must Read

Gambar
StackOverFlow is dandy house to await for help, larn as well as participate, but it's also a dandy house to sense of savor approximately existent entertainment, contributed past times programmers from all over the world. Though, due to strict policies of stackoverflow.com , most of entertaining postal service either are either gets shut or deleted, approximately of them remained to entertain programming community. Being a regular reader of StackOverFlow from long time, I convey constitute twain of threads which are genuinely amazing, as well as has lot's of funny as well as entertaining content. Here I am going to portion five of my favorite StackOverFlow posts, which I propose you lot to read, if you lot acquire bored or you lot convey approximately fourth dimension to kill. By the way, don't forget to acquire out comments as well as permit us know which is your favorite funny as well as entertaining threads inwards StackOverFlow. What is your best programmer joke? WO...

Why Purpose Slf4j Over Log4j For Logging Inward Java

Gambar
Every Java programmers know that logging is critical for whatever Java application, peculiarly server-side application, together with many of them are already familiar amongst diverse logging libraries e.g. java.util.logging , Apache log4j, logback , but if yous don't know close SLF4J , Simple logging facade for Java,  together with hence it's fourth dimension to larn together with travel SLF4J inward your project. In this Java article, nosotros volition larn why using SLF4J is amend than using log4j or java.util.logging . It’s been a long time, since I wrote 10 logging tips for Java programmer ,I don’t retrieve anything I accept writing close logging. Anyway, let’s acquire dorsum to the topic, on opposite to all those logging libraries, in that location is a major divergence betwixt them together with SLF4J . SLF4J or Simple logging Facade for Java is non actually a logging implementation, instead, it's an abstraction layer , which allows yous to travel whatever loggin...

10 Best Practices To Follow Piece Writing Code Comments

Gambar
Comments are an of import business office of writing code not alone inward Java but whatever programming or scripting linguistic communication yous use. At the same time, this is i of the most abused things equally well. Both writing no comment as well as writing equally good much comment is bad as well as this has been highlighted past times many software gurus e.g. Robert C. Martin inward his classic mass Clean code. There is a whole chapter dedicated to How to write comments as well as finding pros as well as cons of comment. This article is my learning inward the same direction, hither I am going to part alongside yous guys roughly 0f the dominion as well as best practices I follow piece writing comments. Before that let's firstly encounter what is the role of having a comment inward the code? Why produce nosotros ask comment, isn't writing code is enough. Some of the people I convey met ever debate that nosotros are getting paid for writing code as well as non comment :)....

15 Coffee Nio, Socket, As Well As Networking Interview Questions Answers

Gambar
Networking as well as Socket Programming is i of the of import expanse of Java programming language, particularly for those programmers, who are working inwards customer server based applications. Knowledge of of import protocols e.g. TCP as well as UDP inwards particular is real important, particularly if you lot are inwards concern of writing high frequency trading application, which communicate via FIX Protocol or native central protocol. In this article, nosotros volition some of the frequently asked questions on networking as well as socket programming , mostly based or hence TCP IP protocol. This article is kinda calorie-free on NIO though, as it doesn't include questions from multiplexing, selectors, ByteBuffer and FileChannel  but it does include classical questions similar difference betwixt IO as well as NIO . Main focus of this post service is to brand Java developer familiar amongst depression degree parts e.g. how TCP as well as UDP protocol works, socket options a...

What Is Polymorphism Inwards Java? Method Overloading Or Overriding?

Gambar
What is Polymorphism inwards Java Polymorphism is an of import Object oriented concept in addition to widely used inwards Java in addition to other programming languages.   Polymorphism inwards java is supported along amongst other concepts similar Abstraction , Encapsulation , in addition to Inheritance. Few words on the historical side; Polymorphism discussion comes from ancient Greek where poly agency much hence polymorphic are something which tin create got many forms. In this Java Polymorphism tutorial nosotros volition come across what is Polymorphism inwards Java , How Polymorphism has implemented inwards Java e.g method overloading in addition to overriding , why should nosotros role Polymorphism in addition to how tin nosotros create got payoff of polymorphism spell writing code inwards Java . Along the way nosotros volition likewise come across a existent basis instance of using Polymorphism inwards Java .  Abstraction , Encapsulation and Polymorphism durin...

How To Write Parametrized Generic Shape Too Method Inwards Coffee Representative

Gambar
Parameterized Generic bird as well as method inward Java Writing Generic parametrized bird as well as method inward Java is slowly as well as should survive used every bit much every bit possible. Generic inward Java was introduced inward version 1.5  along alongside Autoboxing , Enum , varargs as well as static import . Most of the novel code evolution inward Java uses type-safe Generic collection i.e. HashSet inward house of HashSet but nevertheless Generic is underused inward price of writing ain parametrized classes as well as method. I concord that most Java programmers has started using Generic piece working alongside the Java collection framework but they are nevertheless non certain how Generic tin allow yous to write Template form of classes which tin operate alongside whatsoever Type only similar the parametrized ArrayList inward Java which tin shop whatsoever Type of element. In the concluding pair of article   about Generics nosotros conduct keep seen How ...