textlog
โ€ฆ
profilefollowI am just a grain of sand on your beach. www.gruntsoft.comreplied to๐Ÿคธprofilefollowcreative technologist creator of textlog:
Microservices. Not really programming, as this is more on the architectural level. Microservices is a valid approach when you need to address massive scale. The thing is, I have seen it applied to things that could realistically serve its audience in a handful of modest servers with a less fashionable approach. It was done under the guise of simplification; each individual microservice was in fact very small. But this at the cost of absolute spaghetti architecture.
๐ŸฅทprofilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.replied to๐Ÿคธprofilefollowcreative technologist creator of textlog:
I assume this is not original at all at this point - but (extreme) DRY is not a good practice. My experience is that a bit of copying yourself and your colleagues in the code base often make maintenance of the code base easier.
๐ŸฅทprofilefollowSoftware engineer. [Reluctant] Salesforce dev. Salesforceโ€™s biggest hater. stephenlf.devstephenlf.devImportant Thingsreplied to๐ŸฅทprofilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.:
Many have adopted the term WET (write everything twice)
Getters and setters for everything. Certainly, if you want an object to be doing more than just getting and setting a value right now, get them in there! Planning to add functionality later without breaking code? Stop it! That should break code! If I'm consuming a library and have been using this setter method for 2 years, I don't want it to suddenly introduce brand new validation, caching, or logging behavior!
profilefollowI carved wooden spoons and my favourite herb is lemon thyme.replied to๐Ÿ˜Šprofilefollow:
Are getters and setters on everything even considered a good practice? To me it screams junior developer who hasnโ€™t yet fully understood encapsulation and abstraction โ€” if youโ€™re just exposing getters and setters as the interface then what is the class/module/etc providing beyond what a standard variable doesโ€ฆ?
join the communityorbrowse more notes