Details
-
Skillsphp js node jquery
-
LocationTrento, Italy
-
Website
-
Github
Joined devRant on 7/5/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Finally finished the longest ticket I've ever worked on in my life. The ticket title and description was a pretty simple and straightforward one: "Upgrade from PHP 7.4 to 8".
If it was only so simple in real life. Our application is mostly done with API Platform framework, which is based on top of Symfony framework which is based on top of PHP language.
Once I did PHP 7 => 8 upgrade I needed to upgrade API Platform 2 => 3. But of-course that couldn't have been done as before that I needed to upgrade from Symfony 5 => 6.
This all was literally an equivalent of touching into a wasp nest - it took me a bit over 5 months and 800 hours of work and there was literally not a single source file left untouched.
In the process of all of this I've ran into literally dozen undocumented feature-breaking changes, broken backwards-compatibility promises and inside out architectural changes - from both the frameworks and the language itself.
Upgrading just one major version of anything SHOULD NOT be so hard. And to top it all up just to think I will need to do this again in a year or two..
Experiences like these really set my hate for time-based model of releases and the state of today's development in general.6 -
Did the 32 GB RAM upgrade! Look at me now mom, spending mad cash on my sick rig!
(Well, 40 bucks in this case. Literally.)4 -
If archaeologists from 1000 years in the future find a fossilized copy of your code? What would they think about it?
Regex would definitely classify as alien manufacture.15 -
Manager: This code you wrote violates the single responsibility principle!!
Dev: How so?
Manager: You have one function that you call in *MULTIPLE* places. That’s too much responsibility for one function! Functions should only have one responsibility!! Creeping the scope of a function beyond that is a TERRIBLE way to write code!
Dev: But why spin up multiple functions that all perform the same thing?
Manager: Well if a function has a bug in it and you use that function multiple places then that bug exists everywhere you use that function. If a function only has one responsibility then if it has a bug that bug will only exist in the single place it is called! You really should think first before asking questions like that.
Dev: …26 -
My toddler is still learning to speak. We know some numbers now. Today he was counting items on the table, and I quote [with LT->EN translation]:
ZERO
ONE
TWO
THREE
I guess I'm doing something right as a parent. Proud of him and myself .22 -
😆 Raise Your Hands if this is Your Situation 😆
#WorkFromHomeLifejoke/meme programming comic tech life programming life quarantine workfromhome programmer programmer life wfh8 -
I recreated the legendary experience of Windows XP . Go now and enjoy it live at
https://tilakmaddy.github.io/Window...
(also lowkey subscribe 2 my youtube channel where I'll post more such stuff at https://youtube.com/watch/...)5 -
So I'm in Italy, close to Milan, the biggest infected zone in the whole country.
I'm still going to work as we're in 2 people in the office and we're alone in a 90 square meters office, so no big deal after all.
My city is actually empty right now, so I'm just going from home to work speeding on my motorcycle (no really that speeding, since my motorcycle isn't that powerful)
So nothing really changed actually and I'm still working the same way I did before8