From e81ae2b3dddaf486586ae493837cb7649da40a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kucha=C5=99?= <honza.kuchar@grifart.cz> Date: Sat, 26 Mar 2022 17:54:09 +0100 Subject: [PATCH] updated README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28e4af7..228e957 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ ...and this package makes it easier for you. -# The storyv +# A story + +In 3/2022 this has happened. ```php class UserId { @@ -39,7 +41,7 @@ Boom! 🔥 Application hard crashed for every user that has been logged-in on _s ### Summary -Implicit serialization support is [an explosive mine 💥](https://en.wikipedia.org/wiki/Explosive_mine), that you cannot easily be spot from the surface or even in code-review. You have to inspect whole object life-cycle including code history. Almost impossible to spot. +Implicit serialization support is [an explosive mine 💥](https://en.wikipedia.org/wiki/Explosive_mine), that you cannot easily spot from the surface or even in code-review. You have to inspect whole object life-cycle including code history. Almost impossible to spot. This is very similar to disabling inheritance support from object which was not explicitly designed to be extended – `final` by default. You can find good reasoning at [1](https://matthiasnoback.nl/2018/09/final-classes-by-default-why/), [2](http://whiley.org/2011/12/06/final-should-be-default-for-classes-in-java/). -- GitLab