Posts by davemurdock@mastodon.online
(DIR) Post #AQJXV81CnMquz7g9UO by davemurdock@mastodon.online
2022-12-06T00:27:23Z
0 likes, 0 repeats
@nicklockwood completely agree with your semantics and I’m still gobsmacked at the convention smashing ‘body’ property. I mean sure it feels like body()….hmm, is ‘body’ technically effect free? That use to be one of the property vs. parameterless function signals…
(DIR) Post #AQJYs7Up0GI3yn3hfk by davemurdock@mastodon.online
2022-12-06T01:19:31Z
1 likes, 0 repeats
@shadowfacts @cocoaphony @nicklockwood that’s a good idea!
(DIR) Post #AQJneC7EWuCnZ5qLo0 by davemurdock@mastodon.online
2022-12-06T04:00:15Z
1 likes, 0 repeats
@shadowfacts @cocoaphony @nicklockwood IIRC this WWDC ‘20 session Data Essentials in SwiftUI sounds kind of dry, there's a big chunk of stuff about the view rendering lifecycle & the importance keeping your views lightweight, with this statement germane to the discussion “A view's body should be a pure function, free of side effects.” https://developer.apple.com/wwdc20/10040