Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Object Oriented Lies

2,080 views

Published on

JPoint 2016; Moscow, Russia; 24 April 2016. Video is here: https://www.youtube.com/watch?v=F4N25kZ2zQU (in Russian with English subtitles).

Published in: Software
  • Be the first to comment

  • Be the first to like this

Object Oriented Lies

  1. 1. /10@yegor256 1 Объектно- Ориентированное
 Вранье Егор Бугаенко
  2. 2. /10@yegor256 2 до…
  3. 3. /10@yegor256 3
  4. 4. /10@yegor256 4 Spring, Hibernate, POJO, JAX-RS, JAXB, Utils, design patterns, etc.
  5. 5. /10@yegor256 5 object
  6. 6. /10@yegor256 6 f = new File()
  7. 7. /10@yegor256 7 - getters - setters - static methods
  8. 8. /10@yegor256 8 class File { private String path; String getPath() { return this.path; } }
  9. 9. /10@yegor256 9 class File { private String path; void setPath(String p) { this.path = p; } }
  10. 10. /10@yegor256 10 class FileUtils { static String read(File f); }
  11. 11. /10@yegor256 11 class File { private final String path; String content() { // read and return } }
  12. 12. /10@yegor256 12 45+
  13. 13. /10@yegor256 13

×