Tom Dalling

1.2K posts

Tom Dalling banner
Tom Dalling

Tom Dalling

@tom_dalling

Software developer & writeabouterer. Hot takes and grumbling into the void. 👉 https://t.co/k489cIc1J1 👉 https://t.co/Qx1ncDWJFb

Melbourne, Australia Katılım Şubat 2014
191 Takip Edilen816 Takipçiler
Tom Dalling
Tom Dalling@tom_dalling·
@carlchan1964 Thanks Carl! I barely use Twitter (X?) anymore, but this was a nice surprise to see when I logged in.
English
0
0
0
9
Carl Chan
Carl Chan@carlchan1964·
@tom_dalling Thank you for creating MirrorTheVideo.com! 💟 As a lefty learning to paint I can now follow along with ease and will paint like a pro sooner! My buddy who's wanting to learning programming; I will be sending him your way! Thank you so much Tom! 💟
English
1
0
1
10
Nate Berkopec
Nate Berkopec@nateberkopec·
We could have avoided 99% of this service object nonsense if we had just made Rails controllers easier to test
English
7
1
63
14.2K
Tom Dalling
Tom Dalling@tom_dalling·
@nateberkopec Deprecating controllers specs in favour of request specs was a step in the right direction, although not everyone seems to have got the memo.
English
0
0
0
66
Tom Dalling
Tom Dalling@tom_dalling·
@nateberkopec Yeah, basically. An endpoint is an easily-testable function that takes a request and returns a response (streaming responses are a bit different, but still). Rails gonna Rails, though.
English
2
0
0
774
Tom Dalling
Tom Dalling@tom_dalling·
@allenholub Let’s have a look at Shi'er lü, the ancient Chinese music scale from before Big Pythagoras started spreading fake news. What a coincidence that it uses the same ratios.
English
1
0
0
26
Tom Dalling
Tom Dalling@tom_dalling·
@allenholub And what makes notes sound good together, Allen? Why are fifths always harmonic? Of course Pythagoras didn’t invent music. Do you also argue that gravity has no relation to math because Newton didn’t invent gravity?
English
2
0
0
53
Tom Dalling
Tom Dalling@tom_dalling·
@brandontroberts Probably “this should be reusable” (which btw is not feedback I’d typically give). IMO reviews are about the code, and less about who wrote it.
English
0
0
0
39
Brandon Roberts
Brandon Roberts@brandontroberts·
When you do code reviews, do you use "we" or "you" when proposing changes to a pull request? "We should make this reusable" vs "You should make this reusable" 🤔
English
297
16
418
213.1K
Tom Dalling
Tom Dalling@tom_dalling·
@HashNotAdam Packwerk is exactly the kind of thing you want at larger team sizes, but it’s also going against the grain of Rails. DHH is a lone wolf and Rails is his personal “survival kit”, so it’s not surprising, just annoying that we have to rely on e.g. Shopify to make workarounds.
English
0
0
0
80
Tom Dalling
Tom Dalling@tom_dalling·
@HashNotAdam It’s less frameworks succeeding/falling, and more designs being better/worse. E.g. ActionController scales okish. There’s no reason why better design has to be less flexible. It should actually be the opposite. Bad design restricts your options, which is why AR is painful.
English
1
0
0
52
Tom Dalling
Tom Dalling@tom_dalling·
@MissRahee That’s the ideal, and if you can enforce that standard it will help. Even so, you can still run into the problem of important/risky things being deferred until late in the project.
English
0
0
1
10
Adam Misrahi
Adam Misrahi@MissRahee·
@tom_dalling What you demo is meant to be an iteration that a real user could do something with. If it is then you'll naturally have to agree on and build the essential core first.
English
1
0
0
16
Tom Dalling
Tom Dalling@tom_dalling·
@MissRahee Thanks Adam! In the article I was imagining that stuff was still getting done every cycle and being demoed. IMO demos show velocity, but don't necessarily derisk the project. Put another way: demos show that things are getting done, but don't ensure they are the right things.
English
1
0
1
11
Adam Misrahi
Adam Misrahi@MissRahee·
@tom_dalling That was a great read and I'll be coming back to it. I don't believe agile is magic but which parts of this prioritisation problem are not solved by demoing a shipped iteration every sprint?
English
1
0
0
17
Tom Dalling
Tom Dalling@tom_dalling·
@nateberkopec Yep, but it at least gives control to the frontend, vs a typical REST API that responds with everything regardless of whether the frontend wants it. Some sophisticated REST APIs do give you that control, but they're not common and kinda complicated to implement well.
English
0
0
4
397
Nate Berkopec
Nate Berkopec@nateberkopec·
@tom_dalling The problem is that "extraneous data" is not always clear. If the client asks for 100 of X, filters out 99 of X, and displays 1, was that data extraneous? Well, is isn't if the filtering is implemented clientside.
English
1
0
1
1.1K
Nate Berkopec
Nate Berkopec@nateberkopec·
I've grown a bit disillusioned by GraphQL. I hoped it would solve the problem of "kitchen sink" REST endpoints, but it seems to just have its own "kitchen sink" queries anyway. Maybe keeping state in two places was never going to work.
English
20
13
170
43.6K
Tom Dalling
Tom Dalling@tom_dalling·
@t3dotgg So what do you see as your biggest factors that prevent bugs, if it’s not a test suite?
English
0
0
0
64
Theo - t3.gg
Theo - t3.gg@theo·
@bravelyjake Rock-solid CD is tablestakes for me. Our average time to production fix from report at Ping is under 7 minutes. Deploys taking more than 2 minutes is a disaster waiting to happen imo
English
3
1
13
2.9K
Theo - t3.gg
Theo - t3.gg@theo·
Been almost 2 years since I wrote a test and I've never been more productive
English
83
32
846
728.9K
Tom Dalling
Tom Dalling@tom_dalling·
@t3dotgg I don’t doubt you, but there is more than one potential explanation for this.
English
0
0
0
123
Martin Fowler
Martin Fowler@martinfowler·
NEW POST: Many software teams pack too much work into their iterations. Teams will usually run better when they have deliberate slack, as it allows their delivery to be more predictable and gives them time to improve their environment. martinfowler.com/bliki/Slack.ht…
English
22
243
1.1K
164.1K