Successfully reported this slideshow.

Object Oriented Lies

0

Share

Loading in …3
×
1 of 13
1 of 13

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

Related Audiobooks

Free with a 14 day trial from Scribd

See all

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

×