339 private links
Pep talk to use microservices 🤣
Wörter : lorsqu'il s'agit d'un nombre précis de mots, dénobrable
Worte : lorsque le pluriel est général, désigne un groupe abstrait de mots
Wörter bestehen aus Buchstaben, Worte aus Gedanken.
About impl Trait
Rule: If a type parameter only appears in one location, strongly reconsider if you actually need it.
The problem of centralized services : when they are down, everything is down
So there is four stages of quality for each name :
- Nonsense : For example, we might extract a method from a larger one and quickly rename it
somethingWhatever()to get the refactor done and the tests passing. - Accurate : We rename the nonsense method to what it actually does, such as
processPayroll() - Precise : Once we realise what the method really does, we might refine the accurate name and give it more precision, such as
loopThroughEmployeesAndPayThem(). - Meaningful : At this point, we’ve revealed the complexity of the method, and can look to split it up into two methods:
forEachEmployee()and perhaps apayWages()method on a separate interface.
I always use at least accurate names, because it helps me even during the development process. Something I tend to is to use meaningful names and thus creating a lot of functions 😅
I dislike the precise one as it looks as a function that need to be changed, because of doing to much things. At least, this reveals the complexity behind the name.
A website that regroup all 88x31 gifs
Le code python écrit :
def LetsFaceIt(gender, ethnicity):
try:
if (gender != "Male")
chanceOfSTEMJob = "24%"
if (ethnicity != "White" and ethnicity != "Asian"):
chanceOfSTEMJob = "5%"
except:
logging.error("This is the STEM gap")
return chanceOfSTENJobJe ne savais pas ce qu'est cette vis présente sur les freins à disque du VTT. Eh bien Wikipédia réponds à la question :)
(via Riduidel)
What I now hold as the most important thing in romantic relations is a very clear, direct and honest communication.
Ok lorsque la recherche doit être ultra-précise. DuckDuckGo propose aussi d'affiner et de mieux contrôler ses recherches.
Not related to Mozilla, but a Q&A from an employee.
However, Google is an organization that excels at taking individual, seemingly-benevolent units of work and then combining them into things that are anti-competitive or just plain evil.
🔪
Comments are well written too :)
Évidemment que la qualité c’est important, évidemment que tu dois t’en préoccupé et évidemment tu dois déployer des applications de production qui sont de qualité. Évidemment ! Mais le problème de la qualité c’est que ça prend du temps. [...] la qualité c’est ton objectif, pas ton point de départ
Je me retrouves tellement dans les paragraphes suivants !!!
À chaque fois qu’on me demande quelque chose que ce soit un projet entier ou juste une petite tache isolée ce que je fais c’est que je me concentre sur le problème principal. Quel est le problème principal ? Comment je peux réduire le problème pour avoir juste le coeur du problème, le coeur de ce que je dois résoudre en fait.
Je me concentre dessus et je le fais fonctionner le plus rapidement possible, sans me préoccuper de la qualité, pas tout de suite ! Je ne pense pas à ou est-ce que ça va être, je pense pas comment ça va être, je pense pas à comment je vais l’intégrer avec tout un système, je pense à d’abord régler le plus petit problème.
Et je pourrais citer toutes la partie Make it work en fait 💬
Une fois que le prototype marche, écrire les tests et refactoriser/réécrire pour que ce sois de la qualité 👍
"When a measure becomes a target, it ceases to be a good measure." → when the test coverage start to be a target, the quality of the test drops ?