Andy

4.5K posts

Andy banner
Andy

Andy

@andy__carrell

Frontend Developer

Auckland NZ Katılım Ocak 2016
532 Takip Edilen160 Takipçiler
Andy retweetledi
Cory House
Cory House@housecor·
You don’t need an architect. But you do need at least one person who thinks architecturally. Common titles: Team lead Senior Dev Architect Principal But, title isn't important. What's important: At least one person should be responsible for the long-term, and the big picture.
English
15
103
746
180.3K
Andy retweetledi
Armand Domalewski
Armand Domalewski@ArmandDoma·
people are getting very confused about this whole Silicon Valley Bank / FDIC issue, so here's a thread: -Majority of accounts over $250k are BUSINESSES, not individuals -While FDIC is only required to pay out up to $250k, in practice, they tend to arrange a sale... 🧵 (1/?)
English
200
2.4K
9.9K
5.1M
Andy retweetledi
Marc-André Giroux
Marc-André Giroux@__xuorig__·
graphql is overkill you can simply use http with a strongly typed schema and use sparse field sets to select fields and write a specification for the sparse field set language, a parser and execution layer
English
42
80
1.1K
245.4K
Andy
Andy@andy__carrell·
Hey @mattpocockuk is there a way in Typescript to exclude a specific property from an object of more generic keys? What I want to do is: type Attributes = Omit<Record<`data-${string}`, string>, 'data-status'> but unfortunately that doesn't prevent the key 'data-status'
English
0
0
0
79
Andy retweetledi
dax
dax@thdxr·
when react first came out it scratched exactly one itch we all felt it wasn't performance or VDOM or any of that we just wanted to organize our UI as components
English
5
9
308
49.1K
Andy
Andy@andy__carrell·
@FredKSchott Technically yes, but I don't think Next.js is dropping React soon, since that would give up too much market share to beginners. The elephant in the room is CRA, is there an easy migration path to a framework?
English
0
0
0
1.7K
Andy retweetledi
Oliver
Oliver@eey0re·
I will remember the sixth labour government as one which squandered its incredible support by delivering very little progressive change in an attempt to pander to people who were never going to vote for them.
English
12
33
374
21.8K
Andy
Andy@andy__carrell·
@irbishi Simple Chalk
English
0
0
0
157
Ian Raphael Bishop
Ian Raphael Bishop@irbishi·
How difficult is it to stay in your crease until the ball is released? Seriously, how hard is that to do?
English
250
910
14.6K
808.8K
Andy retweetledi
Steve Ruiz
Steve Ruiz@steveruizok·
Tailwind? No thanks, I prefer utility classes.
English
10
3
141
59.3K
Andy
Andy@andy__carrell·
@housecor It's difficult to spin up a server, run lint and report in less than a couple of minutes - that's a couple of minutes longer your pipeline takes to run. Prepush is about as fast as it can fail :)
English
0
0
0
4
Cory House
Cory House@housecor·
Pre-commit hooks are a waste of time. Why? Because they enforce standards too early. Pre-commit hooks make us wait for a quality check on every commit.👎 The code shouldn't need to be "right" to save my changes. The code only needs to be right before merge. Solution? Use CI.
English
247
221
2.3K
407.1K
Andy
Andy@andy__carrell·
@wesbos When this guy pops down my chimney next week I'll have a word to him 🫡
English
0
0
0
443
Andy
Andy@andy__carrell·
Yeeeeeeeah
Andy tweet media
English
0
0
0
44
Andy
Andy@andy__carrell·
@geoffuptonNZ He's clearly not that famous if op doesn't understand why he's not singing 😅
English
0
0
0
0
Geoff Upton
Geoff Upton@geoffuptonNZ·
Imagine trying to get likes in a British Twitter ecosystem by owning Marcus Rashford rn.
English
2
0
2
0
Andy
Andy@andy__carrell·
@housecor I don't think that quite a fair comparison. Since you're returning the ternary immediately, the "bad" code would be more like: ``` if (x) { return 1; } return 2; ``` No let, only 2 curlies, no variable declaration, no mentions of "returnVal"
English
0
0
1
0
Cory House
Cory House@housecor·
A ternary can be abused. But, often a ternary radically simplifies. Here, a ternary eliminates: if let else 2 equals 4 curly braces A variable declaration 3 other mentions of returnVal And, the result is easier to read because I don't have to track the status of returnVal.
Cory House tweet media
English
16
10
86
0