Which do you think is ?
โฆ
@gruntprofilefollowI am just a grain of sand on your beach.
www.gruntsoft.comreplied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative 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.
@keitachikawa๐profilefollowaeres-u99 on github, CodeAtlas \o/replied to@gruntprofilefollowI am just a grain of sand on your beach.
www.gruntsoft.com:
This indeed makes sense, it is a lot more like locality, if a concept doesn't needs a function, don't give it a function
Completely spec out a project - instead there should be stages where you fill in the blanks ( that you left vague on purpose ) based on what you learnt up until that stage.
@hotterprofilefollow#Emacsnotesfollow, dev, life, random stuff. the netherlands.replied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Clean Code
@nathan๐ฅธprofilefollowreplied to@hotterprofilefollow#Emacsnotesfollow, dev, life, random stuff. the netherlands.:
I had so much pointless discussions about this ...
but when you say "Clean Code" , do you mean the book or the general idea that such a thing exists?
@hotterprofilefollow#Emacsnotesfollow, dev, life, random stuff. the netherlands.replied to@nathan๐ฅธprofilefollow:
The book, but actually ideas, like tiny functions and names. Aposd is much deeper book. Hilarious read github.com/johnousterhout/aposd-vs-clean-codeGitHubGitHub - johnousterhout/aposd-vs-clean-code: A discussion between John Ousterhout and Robert Martin about differences between John's book "A Philosophy of Software Design" and Bob's book "Clean Code".A discussion between John Ousterhout and Robert Martin about differences between John's book "A Philosophy of Software Design" and Bob's book "Clean Code". - johnousterh...
@asmund๐ฅท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@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative 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.
@honey_ohs๐ฅทprofilefollowSoftware engineer. [Reluctant] Salesforce dev. Salesforceโs biggest hater.
stephenlf.devstephenlf.devImportant Thingsreplied to@asmund๐ฅท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!
@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.replied to@keui๐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โฆ?
No, I like the cleanliness of the design and the concept37%
Yes, but limited to the postโs page and for historical posts44%
Yes, everywhere, I canโt live without them19%
54 votedโฆ
No
Finally some breathing room for the brain ;)
@procyonprofilefollowlate is the hour in which this conjuror chooses to appearreplied to@stagas๐คธprofilefollow
creative technologist
creator of textlog:
creative technologist
creator of textlog:Another use-case for timestamps - showing how often someone posts, and how recently they were active. I want to be able to send my friends a link to my user page and say "follow me here for random thoughts". Odds are they're not going to create an account, but they might bookmark it and check for updates from time to time. Timestamps will tell them whether it's worthwhile to do this.
Please no.
This place is special as it is.
Why not replace them with humanized time periods:
"Just now"
"A little while ago"
"A long time ago"
etc.
@sodapopcanprofilefollowMillenial/Xenial who used to be really excited about programming.replied to@pcprofilefollow:
Yes! I made a similar suggestion on HN, though like your labels better. I was thinking a bit more on it that after "just now" and a hypothetical "new" that the timestamp could disappear so long as there has been a response within X amount of time, for example, after 2 months. After this time period it could start saying things like, "a while ago," "quite a while ago," and "a long time ago" based on (for example) 1 years ago, 2 years ago, > 2 years ago.
@stagas๐คธprofilefollow
creative technologist
creator of textlogreplied to@sodapopcanprofilefollowMillenial/Xenial who used to be really excited about programming.:
creative technologist
creator of textlogreplied to@sodapopcanprofilefollowMillenial/Xenial who used to be really excited about programming.:Thatโs what we do now. In the post pages there is approximate time with more precise hover informtaion for older posts, so there is context. Also when a post is unread it will show these approximate times so again you can tell when they were written roughly.