SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
Evolving with Java - How to remain Relevant and Effective
Slides from my GIDS 2019 presentation - Evolving with Java - How to remain relevant and effective. In this presentation, I share examples of evolving with Java to overcome the pain points.
Slides from my GIDS 2019 presentation - Evolving with Java - How to remain relevant and effective. In this presentation, I share examples of evolving with Java to overcome the pain points.
16.
Pain is the hammer of the gods to break
A dead resistance in the mortal’s heart
https://dhavaldalal.wordpress.com/2006/08/02/pain-and-suffering/
17.
public static String concatWithPlus(String[]
values) {
String result = "";
for (int i = 0; i < values.length; i++) {
result += values[i];
}
return result;
}
18.
public static String
concatWithStringBuffer(String[] values) {
StringBuffer buffer = new StringBuffer();
for (int i = 0; i < values.length; i++) {
buffer.append(values[i]);
}
return buffer.toString();
}
35.
/**
*
* @param customer
* @return This method returns orders
* of customer
*/
public List getOrdersOfCustomer(Customer
customer);
36.
/**
* This method returns orders of customer
* @param customer Customer whose orders to be fetched
* @return List containing Order objects of the
* specified Customer
*/
public List getOrdersOfCustomer(Customer customer);
37.
public List<Order>
getOrdersOfCustomer(Customer customer);
public List<OrderSummary>
getOrdersOfCustomer(Customer customer);
51.
Understand one level
below the abstraction
you deal with
52.
Food pizza = new Pizza();
Person friend = new Person("Ravi");
friend.getMouth().setFood(pizza);
53.
Food pizza = new Pizza();
Person friend = new Person("Ravi");
friend.getMouth().setFood(pizza);
Person friend = new Person("Ravi");
Edible food = new Pizza();
friend.offer(food);
58.
Most people talk about Java the language, and this
may sound odd coming from me, but I could hardly
care less. At the core of the Java ecosystem is the
JVM.
- James Gosling,
Creator of the Java Programming Language(2011, TheServerSide)