SlideShare a Scribd company logo
/10@yegor256 1
Объектно-
Ориентированное

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

More Related Content

PDF
Java Script - Object-Oriented Programming
PPTX
JS programowanie obiektowe
DOCX
Text Editor1
PPTX
Java лаб13
PDF
Rambler.iOS #8: Чистые unit-тесты
PDF
Javantura Zagreb 2014 - Groovy-SQL - Dinko Srkoč
PDF
ORM is offensive
PDF
Management without managers
Java Script - Object-Oriented Programming
JS programowanie obiektowe
Text Editor1
Java лаб13
Rambler.iOS #8: Чистые unit-тесты
Javantura Zagreb 2014 - Groovy-SQL - Dinko Srkoč
ORM is offensive
Management without managers

Viewers also liked (20)

PDF
ORM is a perfect anti-pattern
PDF
How Anemic Objects Kill OOP
PDF
ORM is an Offensive Anti-Pattern
PDF
Built-in Fake Objects
PDF
Need It Robust? Make It Fragile!
PDF
Java vs OOP
PDF
Practical Example of AOP with AspectJ
PDF
How Immutability Helps in OOP
PDF
How Do You Know When Your Product is Ready to be Shipped?
PDF
How Much Immutability Is Enough?
PDF
Continuous Integration is Dead
PDF
Who Manages Who?
PDF
OOP Is Dead? Not Yet!
PDF
Meetings Or Discipline
PDF
Fail Fast. Into User's Face.
PDF
Problems With Chat Bots
PDF
Who Is a Software Architect?
PDF
RABIES IN TUNISIA:Evolution and result of « National Program of Rabies Control »
PDF
Railway Oriented Programming
PDF
Chat Bot Architecture
ORM is a perfect anti-pattern
How Anemic Objects Kill OOP
ORM is an Offensive Anti-Pattern
Built-in Fake Objects
Need It Robust? Make It Fragile!
Java vs OOP
Practical Example of AOP with AspectJ
How Immutability Helps in OOP
How Do You Know When Your Product is Ready to be Shipped?
How Much Immutability Is Enough?
Continuous Integration is Dead
Who Manages Who?
OOP Is Dead? Not Yet!
Meetings Or Discipline
Fail Fast. Into User's Face.
Problems With Chat Bots
Who Is a Software Architect?
RABIES IN TUNISIA:Evolution and result of « National Program of Rabies Control »
Railway Oriented Programming
Chat Bot Architecture
Ad

More from Yegor Bugayenko (20)

PDF
Can Distributed Teams Deliver Quality?
PDF
Are You Sure You Are Not a Micromanager?
PDF
On Requirements Management (Demotivate Them Right)
PDF
My Experience of 1000 Interviews
PDF
Are you sure you are not a micromanager?
PDF
Quality Assurance vs. Testing
PDF
Is Java Getting Better?
PDF
Typical Pitfalls in Testing
PDF
Software Testing Pitfalls
PDF
Five Trends We Are Afraid Of
PDF
Experts vs Expertise
PDF
Who Cares About Quality?
PDF
Quantity vs. Quality
PDF
Experts vs Expertise
PDF
Zold: a cryptocurrency without Blockchain
PDF
Life Without Blockchain
PDF
How to Cut Corners and Stay Cool
PDF
Math or Love?
PDF
How much do you cost?
PDF
Java Annotations Are a Bad Idea
Can Distributed Teams Deliver Quality?
Are You Sure You Are Not a Micromanager?
On Requirements Management (Demotivate Them Right)
My Experience of 1000 Interviews
Are you sure you are not a micromanager?
Quality Assurance vs. Testing
Is Java Getting Better?
Typical Pitfalls in Testing
Software Testing Pitfalls
Five Trends We Are Afraid Of
Experts vs Expertise
Who Cares About Quality?
Quantity vs. Quality
Experts vs Expertise
Zold: a cryptocurrency without Blockchain
Life Without Blockchain
How to Cut Corners and Stay Cool
Math or Love?
How much do you cost?
Java Annotations Are a Bad Idea
Ad

Object Oriented Lies