OOP for the win

OOP for the win

L
[email protected]z serwisu Lemmy, 19 min temu

Mem ze społeczności [email protected] w serwisie Lemmy, autor cows_are_underrated, 22 stycznia 2026. It was literally like that. I had a script of about 310 lines and the main function was like 10-20 lines of code. I had a very nice Setup of objects that handled all functionality possible behaviours independent and so my main function was just receiving a user input from another function and add accordingly which included like 3-4 different scenarios that are being handled in the main function.

Źródło

Autor: cows_are_underrated, serwis Lemmy, opublikowano 22 stycznia 2026.

Obrazek wyświetlamy prosto z serwisu Lemmy ([email protected]), bez kopiowania.

Oryginał w serwisie Lemmy

Jesteś autorem i chcesz, żeby to zniknęło? Zgłoś, usuniemy.

Dodano 17 listopada 2026, tematy: programmer_humor, dział Technologia.

Podobne gnioty