November 5, 2018 comments

256 Bloghacks and how to get them for free

Most people who start a blog face the questions that are common for newcomers: How to make it popular? What blogging platform to choose? And, in some cases, how make money from it? However, these questions have no exact answers, just as there are no magic bullets for blogging. The moment you realize that, you change your strategy and start looking for successful bloggers and try to learn from their experience. One of such bloggers is Yegor Bugayenko the author of the “256 Bloghacks”.

256 Bloghacks - cover of the book
"256 Bloghacks" © Yegor Bugayenko
October 28, 2018 comments

In search of an ORM alternative: Creating a SQL-speaking object

The disadvantages of Object-Relational Mapping (ORM) have already been discussed by a number of developers. The main argument against ORM is that it leads to the creation of DTOs, which encapsulate data, rather than behavior. If one decides to accept this claim, what alternative solutions does he have? One of them is a SQL-Speaking object.

Concrete spalling
Data and logic are inseparable. © Sydney Strata Specialists
October 21, 2018 comments

Why do DTOs lead to temporal coupling?

In the comments section of one my recent articles I have been asked the following question: “Why do DTOs lead to temporal coupling?”. Seriously, why? Have we not been using them for years in Java without critically thinking about what could be wrong with them?

Many very similar houses placed close to each other
DTOs in practice. ©
October 11, 2018 comments

Information vs Data in OOP

The concepts of information and data have drawn a lot of attention from the public in today’s age of big data and data mining. However, the application of these terms in OOP is yet to happen.

Data - "Low SAT scores". Information - "You won't get into the college of your choice"
© Mikhail Yakushin
October 8, 2018 comments

Entity and DTO: What's the difference?

DTO (Data Transfer Object) has long been a source of discussions on the subject of it’s place in OOP. Most often, the debate occurs on the topic of practical difference between a DTO and an entity (an object which represents a real-world subject). Some programmers, who are against DTO as a concept, have been able to demonstrate through convincing arguments and examples why DTOs should be avoided. However, the question of practical alternatives and common mistakes in them still remains open.

Mac vs PC advertisement screenshot
© Mac vs PC. Apple.
July 27, 2018 comments

From procedures to objects - A practical example using JDK Properties

John is a newcomer to Java and has faced the need to save key-value pairs to a file. He reaches stackoverflow for help and finds the JDK Properties class…

Old IBM computer with two scientist reading its printed output.
© National Museum of Computing
<< page 2 of 2 >>