Pinned Tweet
🚨 NEW ARTICLE ALERT 🚨
Huge thanks to @trickydisco78 for being an #xstate apostle and getting me familiarized with @DavidKPiano 's awesome lib.
#javascript #webdevelopment #FrontEndDeveloper #redux #reactjs #programmingisfun (again)
medium.com/@sinisa.nimcevic/…
Being harsh on an MR isn't gatekeeping. Gatekeeping is commiting bad code that the newcomers will find even harder to read and mantain 🧐
2
Metrics are useful when talking methodology of writing a codebase - "I think it looks better" is not a valid argument
2
What cognitive complexity mirrors is intiuitive difficulty of understanding code at first glance. It's a topic well worth the read...
Cognitive complexity >>> cyclomatic complexity. Get your metrics right and start writing better code
Boolean() is better than !! and Number() is better than +
Fite me #js folks.
3
1
I have just found out that when the baby is fussy I can get the dog to sit in front of her, and that puts her to sleep. I probably have the most boring dog in the world.
1
Why am I only now hearing about git update-index --assume-unchanged src/myfile.ts ?? It stops git from tracking a file you're changing just to rig a response. Stops those accidental commits that you forgot to undo on Friday. Reversible with --no-assume-unchanged...
1
7
Siniša Nimčević retweeted
Pass by reference vs. pass by value
#javascript #100daysofcode #codenewbie #devcommunity #codenewbies
Learning a bit of PHP for some Laravel tasks - observing some paradigms and architecture concepts carry across languages feels super nice 🥸
1
3
Rember getting railed by a former Amazon dev at code reviews. Made me a lot better in the end. Plus I liked the guy so I figured he just wanted a more uniform code base.
3
I get that it's a joke but these things still piss me off. The answer is "no", but also, I don't spend my days pandering to an imaginary 8 year old, so I'm quite happy to sit through that call if it supports my family.
The dependency inversion principle is best understood through a lack of it. Way back before OO friendly languages you had to include logic directly - dependency was explicit. Bring in interfaces and suddenly you're coding towards an abstraction - the dependency is "inverted".
1
2
#AndJustLikeThat after a good 10 years in the biz, I finally read a good explanation to the ins and outs of the Dependency inversion principle. Thanks Uncle Bob.
3





