
(@JeremiePat@mastodon.roflcopter.fr) Le web à la vanille c'est bon, mangez-en 🍦😍 Actuellement HTML/SVG/CSS/JS Archimage chez @ZenikaIT, ex @mozilla
Paris, France
Joined November 2007
- Tweets5.4K
- Following113
- Followers2.2K
- Likes181
Today JavaScript fun fact. Did you realize that the ternary operator can be replaced by boolean operators in many cases :
1
2
330
Today's #JavaScript fun behavior : Do you know that +["42"] === 42 and therefore ["42"] > 0
Woo... Naughty JS, Naughty !
I love my Job ❤️ but #TGIF
229
Dear @react team, would it be possible to highlight the statement in the doc that said that it's normal for a reducer to be called twice in development... That would help dev, like me, losing half a day TRYING TO DEBUG THAT "NORMAL" BEHAVIOR ! 😱🤬🤦
2
1
391
Je n'arrive pas à savoir si ça m'excite ou si ça me désespère de travailler avec des dev qui ne savent ni concevoir ni coder des interfaces graphiques mais qui le fond quand même ! (Le retour de vacances qui pique)
Petite bouteille à la mer de retour de vacances à ceux qui passent par là. A vous tous que j'ai croisé depuis 20 ans d'une carrière trop riche, trop fun, trop passionné vous êtes des gens merveilleux et j'espère bien que les 20 prochaines seront du même tonneau. Des 😘 à tous.
3
9
948
For a year now, one of my clients requires that I work with a Windows machine... This is the most painful thing I've ever done in a decade ! Companies with such a requirement are shooting themselves in the foot 🙄
1
434
Ah! Il est de retour... plein de bonnes intentions 😆
youtube.com/watch?v=tX_U-8Y6…
Je viens de commettre un petit article sur le blog de Zenika. Tout ce qu'il faut savoir sur les Proxy pour faire de la magie en JavaScript : blog.zenika.com/2023/03/14/l… JavaScript c'est un langage avec le quel on peut faire des truc assez dingue (pour ceux qui en doutaient encore 🤪)
All right, I found the core issue with Jest and Uint8Array... not that trivial though : github.com/facebook/jest/iss…
1
357
I have a very weird behavior while using Jest. In all my tests I get Uint8Array instanceof Object === false 😱 It's the only case like that... Does any one know what the fuck happen ?
2
613
Today: writing some code, writing some tests, running tests... Tests fail! 🤨 Weird, they should pass. Checking, running tests again... Tests fail! 😖 Double check, TRIPLE CHECK 😭 ... Wait... WHAT!... The tooling IS messing things around! 😱
Tomorrow: I'm gonna stay in bed
2
327
Hi @TC39 I was wondering if there is any reasoning about the lack of direct index access (or support for .at(index)) to a value in a Set object? That would be quite useful (and possibly more optimal than iterating through all values)
1
496
I'm turning 47 today... and for the first time I feel old! Bah... it was expected to happen some day 🤪
4
7
1,140
Okay. I know almost nothing of Angular and RxJS... So I get a bit worried when, reading some code, I'm able to spot a convoluted use of RxJS to loop in order to (1) **pull** some data, (2) leak some memory, (3) call n time ngOnInit 😱
I really need some time off.
1
I love web technologies! You can write the most broken code you can imagine, your browser will always find a way to display something. The web is error management done the right way. ❤️ #WebStandards
7
The nature of my job and expertise confront me to less than average web dev and some very bad front-end code (no tests, no HTML semantic, awful JS code, etc.). Just for once, I would love to see code that meet my expectation and work with top of the line web dev
🤔💭😽
2
5
Dear developers friends, remember that in a (not so) distant future, someone will have to read and understand your code, so please, PLEASE 🙏, document your code. At minimum add comments that state your intentions. Self documented code is a myth invented by lazy dumbass! 🤬
Me, today, while reverse engineering some 15 to 20 years old front end code : 😱🤬😥😓🤦♂️🫣🤯🙃😰🤢🤮👹💥😵💫😭... Even for its age this code is a collection of nonsense, starting with : compatible with IE5 only 😮💨 #TGIF2022
1
4
