Thanks a lot for the clarification. Thatโs an interesting thread.
05.08.2025 16:08 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0@selrahcd.bsky.social
Agile Tech coach Expect to hear about testing, archi, DDD, and maybe music.
Thanks a lot for the clarification. Thatโs an interesting thread.
05.08.2025 16:08 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0I could agree with that :)
05.08.2025 12:02 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Using automated refactoring tools is one of the key missing skills of most devs.
05.08.2025 08:35 โ ๐ 14 ๐ 2 ๐ฌ 2 ๐ 0.... "Vous allez crever parce que quelqu'un d'autre a dit quelque chose sur Internet"
01.08.2025 08:37 โ ๐ 862 ๐ 316 ๐ฌ 66 ๐ 12Dimanche 27 juillet, Lisa et Lyes assistent au Tour de France ร Paris et accrochent un drapeau de la Palestine.
Rรฉsultat : 22 heures de garde ร vue, une condamnation et des poursuites pour "violence sur un fonctionnaire de la police nationale sans incapacitรฉ et rรฉbellion".
Unpopular opinion: Using a variable named sut for the system under test is a bad idea; it makes tests less readable. Sure, it helps with finding the act part of the test but, IMO, needing that is a sign that you need to invest in your arrange and assert parts to improve the overall test readability.
30.07.2025 14:37 โ ๐ 4 ๐ 3 ๐ฌ 1 ๐ 0Stupid
Ugly
Test
Unpopular opinion: Using a variable named sut for the system under test is a bad idea; it makes tests less readable. Sure, it helps with finding the act part of the test but, IMO, needing that is a sign that you need to invest in your arrange and assert parts to improve the overall test readability.
30.07.2025 14:37 โ ๐ 4 ๐ 3 ๐ฌ 1 ๐ 0In your tests, most of the time, the setup/beforeEach should be used only for instantiating services. You want values to appear right in the test because they are helpful for telling the story.
30.07.2025 14:24 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0Testing Rule of Thumb: if some pieces of data are in the assert they must appear in the arrange or act phase first.
10.07.2025 14:33 โ ๐ 6 ๐ 4 ๐ฌ 1 ๐ 0Using a builder to create your mocks is a clear signal that you are doing something wrong and should start looking for an alternative solution.
(And that solution is probably an abstraction using domain language)
Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them.
28.07.2025 19:30 โ ๐ 111 ๐ 49 ๐ฌ 4 ๐ 2Never tried HTMX but itโs clearly in my good SPA alternatives. Iโm not sure we can, and will be able, to go without JS. It removes a lot of the needed complexity for SPAs.
27.07.2025 19:00 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Yes, probably.
But I seriously think that most of the SPAs would better be MPAs, even now, even without these enhancements.
Post X de BFMTV avec ce texte : Parade nautique, grand concert...Le programme du premier anniversaire des Jeux olympiques de Paris
Attendez on remet de lโargent pour fรชter lโanniversaire dโun รฉvรฉnement qui a dรฉjร explosรฉ les conteurs en termes de budget ?
On est des gรฉnies
Is it finally the time to kill the monstrousities that SPA are and the cost in accidental complexity they come with?
www.jonoalderson.com/conjecture/i...
You'll find the proper definition of the principle, formulated by Andy Hunt and Dave Thomas, in their book "The Pragmatic Programmer" as quoted here:
"Every piece of knowledge must have a single, unambiguous, authoritative representation within a system."
2/2
DRY is often confused as "don't repeat code," which was never the intended meaning.
DRY is about knowledge. Don't repeat knowledge.
You can repeat identical lines of code that don't repeat or leak knowledge.
1/2
Fabien รฉtait un modรจle pour plusieurs personnes. Je me demande souvent ยซย Que ferait Fabien M. ?ย ยป quand il y a de lโhumain et de lโรฉthique.
Un de mes souvenirs de Fabien est la fois oรน il sโest pointรฉ en kata pour nous faire gรฉnรฉrer des chansons de Justine avec une chaรฎne de Markov.
Salut copain.
Using a builder to create your mocks is a clear signal that you are doing something wrong and should start looking for an alternative solution.
(And that solution is probably an abstraction using domain language)
Tu sais tout faire ๐ซถ
24.07.2025 07:34 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0๐
23.07.2025 19:32 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Woman in line in front of me at the post office is not happy about the cost of shipping. She just whipped out her phone, asked ChatGPT how much it thinks the shipping should cost, and is trying to get the mailman to honor that price.
21.07.2025 23:41 โ ๐ 4862 ๐ 543 ๐ฌ 160 ๐ 273Vous avez vu, lโEspagne va baisser la TVA sur les produits essentiels. Vous savez pourquoi on ne le fait pas en France ? La rรฉponse courte, cโest Macron, comme souvent. Mais le dรฉtail du pourquoi est hyper intรฉressant. Explications :
22.07.2025 21:00 โ ๐ 373 ๐ 183 ๐ฌ 14 ๐ 9Postgres is probably more than good enough for most of us ๐
18.07.2025 16:59 โ ๐ 3 ๐ 1 ๐ฌ 1 ๐ 0Could decrease the number of queries by one (only decrease vs read inventory + update inventory) but thatโs probably not a massive boost.
18.07.2025 15:53 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Yep, thatโs what I understood later. > 0 could work (actually > requestedItemCount) but it would be similar to select for update so wonโt make a change.
18.07.2025 15:51 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Testing Rule of Thumb: If it looks too much like the real implementation, doubt it
๐งต 1/9
Couldโve been a single PHP script?
17.07.2025 10:32 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0