S'initier au TDD avec un jeu de société ? Oui.
@WattezAdrien et @MaximeMaigret vous aideront à appréhender le #TDD avec le jeu Skyjo, une pépite ludique avec un design épuré.
RDV ce jeudi 11 mai !
Inscription 👉 https://t.co/Ga2a3zjklw
#BestofTZ#codetheworld#craftsmanship
@sleepyfox I disagree, but it also depends about what "design" means for you : in TDD you're the user of your (futur) code before being its writer. So you'll be nice with yourself and "design" your code in an easy way to use (naming, parameters, dependencies, coupling...)
@d_stepanovic So maybe the purpose of those tests is not to be used as a safety net ? They help you to design well your code, they are examples and documentation. I think that unit test aren't regression tests despite many developers think
@tottinge "as good" from my colleagues => there are tests.
Their goal is to write tests that would detect if the code has changed or just to prove their code "works"
That's actually funny to observe that in the Nature, in order to optimize energy consumption, we very rarely see a thing with a unique "responsibility"
[joke]
Proof that God doesn't exist :
If he does, he would be perfect. So he would be a craftman. So he would respect the Single Responsibility Principle...
Hava a look at the mouth that is used for
- breathing
- talking
- eating
- tasting
- facial expression
- bitting
- kissing
@art_developpeur@Miiitch Le mauvais crafteur c'est pas celui qui utilise 3 buzzwords par phrase et qui prend toutes les "bonnes pratiques" comme des règles absolues sans les remettre dans leur contexte ?
Le bon crafteur c'est pas celui qui répond "ça dépend" au sujet d'une "bonne pratique" ?
It's not a rule to add an interface in front of all your services
Be pragmatic : if there is no immediat need other than "that's how we must do" or "we might need it in the future", then don't create those interface.
In other words, it's called "dead code"
J'ai la chance d'être invité par le @swcraftrennes pour parler ce soir des stratégies de refonte d'un projet legacy.
Comme c'est à distance, il doit encore rester des places sur : https://t.co/1oJ444CiVj (attention il faut ensuite s'inscrire sur placemeet pour participer)
Example : your code should be so clear that even your colleague with a massive hangover who doesn't know anything about this part of the code, should be able to understand it easily
(And understand all the business logic behind)
First, programming is a deeply humanistic activity, closer to writing a book or TV series than to building a bridge, yet we mainly focus on the machine. Programmers should practice writing, clear communication, empathy, and enhance their vocabulary.