Home » Author Archives: Prasanna Kumar

Author Archives: Prasanna Kumar

Structural (or) Type Safe Duck Typing in Scala

scala-logo

Structural typing as defined by Wikipedia “A structural type system (or property-based type system) is a major classof type system, in which type compatibility and equivalence are determined by the type’s structure, and not by other characteristics such as its name or place of declaration “ Strutural types in scala allows code modularity for some specific situations.For instance, if a ...

Read More »

Loan pattern in Java (a.k.a lender lendee pattern)

java-logo

This post is about implementing loan pattern in Java. Use Case Implement separation between the code that holds resource from that of accessing it such that the accessing code doesn’t need to manage the resources. The use case mentioned holds true when we write code to read/write to a file or querying SQL / NOSQL dbs. There are certainly API’s ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close