Category: Short Writeups

  • Java 8

    Lambda Expressions They are nameless functions. Use To enable functional programming Write concise and readable code Use API effectively Parallel programming How to write them No return type No modifier No name Public String lengthOfString(String s) { return s.length; } (s) -> {s.length;} s -> s.length; Functional Interface An Interface that contains just one abstract…

  • Angular 2+

    Html – JS Dev vs Angular Dev Earlier we would keep these separate. We will manage the DOM via JS. So on click of a button, we will invoke a particular JS –which might validate form inputs. Angular works in component based approach, we think in terms of components. So page is divided into components…

  • Design Principles & Design patterns

    SOLID Design Principles Single Responsibility Pattern – class has a single responsibility like Class Sort won’t have functions to add or delete from the list. ex Microservices Open – Closed Principle – Open for extension and closed for modification. It tells you to write your code so that you will be able to add new…

  • Big Data Udemy Course Notes

    Hadoop  The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. Hadoop Common: The common utilities that support the other Hadoop modules. Hadoop Distributed File System (HDFS™): A distributed file system that provides high-throughput access to application data. Hadoop…

  • HTTP versions

    1.0  1995 – had to establish a new connection for every request and the connection would close after it. So if a webpage had 4 images so 5 requests need to be established including for 1 for the html page.This is TCP slow start. 1.1  1995 – Till 2015 – had introduced a keep alive…