Live data from Hacker News

A deep dive into Swift’s function builders

swiftbysundell.com

31–39 of 39 posts

Re: A deep dive into Swift’s function builders

#31

I must have a different idea of what “deep dive” means; this is simply going through the (relatively simple) motions of implementing a builder. “Deep dive”, to me, would look at how the compiler translates statements using these builders, for example, or reverse-engineering Apple’s builders for juicy information. I’ve recently forayed into SwiftUI to see what all the fuss was. I have to say, I really feel for people…

There are some great examples of this type of in-depth analysis in Mike Ash's blog: https://mikeash.com/pyblog/

Yes! But where is he today? Working at Apple, barred from posting on the blog.

Re: A deep dive into Swift’s function builders

#32
post #26

I must have a different idea of what “deep dive” means; this is simply going through the (relatively simple) motions of implementing a builder. “Deep dive”, to me, would look at how the compiler translates statements using these builders, for example, or reverse-engineering Apple’s builders for juicy information. I’ve recently forayed into SwiftUI to see what all the fuss was. I have to say, I really feel for people…

There is a lot of deep material on SwiftUI, for example https:// swiftwithmajid.com and https://swiftui-lab.com . The latest edition of the excellent Stanford course also uses SwiftUI, and the tutorials by Apple are great.

That’s not “deep”. That’s just following the motions to accomplish basic tasks.

Re: A deep dive into Swift’s function builders

#33

I must have a different idea of what “deep dive” means; this is simply going through the (relatively simple) motions of implementing a builder. “Deep dive”, to me, would look at how the compiler translates statements using these builders, for example, or reverse-engineering Apple’s builders for juicy information. I’ve recently forayed into SwiftUI to see what all the fuss was. I have to say, I really feel for people…

I'm surprised to see NSHipster included in your criticism, can you elaborate or point to some articles for comparison?

NSHipster was about taking a piece of obscure framework and deconstructing in as much detail as possible. Now it’s about “DSL”s, Swift, Swift, Swift and some more Swift.

Re: A deep dive into Swift’s function builders

#34
I enjoy articles like this. And I am spending a fair amount of my retirement time writing Swift. In fact I have written a reasonably complex MacOS App in Swift, and it works well. (For the 15 or so years I worked at Apple everything I wrote was in Objective-C or C). But Swift has what one of my friends calls "a high surface area". In spite of using Swift almost daily, I have to say that if someone asked me "Do you know how to program in Swift" I would have to honestly answer "No."

Re: A deep dive into Swift’s function builders

#35

Earlier quoted context omitted.

There are some great examples of this type of in-depth analysis in Mike Ash's blog: https://mikeash.com/pyblog/

Yes! But where is he today? Working at Apple, barred from posting on the blog.

What evidence do you have that he left Plausible Labs to work for Apple? If true, that could explain why his blog has been inactive.

Re: A deep dive into Swift’s function builders

#36

Earlier quoted context omitted.

Yes! But where is he today? Working at Apple, barred from posting on the blog.

What evidence do you have that he left Plausible Labs to work for Apple? If true, that could explain why his blog has been inactive.

https://twitter.com/mikeash/status/943890969879023618?lang=e...

> mikeash @mikeash · Dec 21, 2017

> Huge news! I’ll be joining Apple in January to work on the ObjC and Swift runtimes. It’s an amazing chance to work on stuff I’ve tinkered with for years. Friday Q&A will continue, although it might be a bit slower while I get into the swing of things.

Re: A deep dive into Swift’s function builders

#37
post #36

Earlier quoted context omitted.

What evidence do you have that he left Plausible Labs to work for Apple? If true, that could explain why his blog has been inactive.

https://twitter.com/mikeash/status/943890969879023618?lang=e... > mikeash @mikeash · Dec 21, 2017 > Huge news! I’ll be joining Apple in January to work on the ObjC and Swift runtimes. It’s an amazing chance to work on stuff I’ve tinkered with for years. Friday Q&A will continue, although it might be a bit slower while I get into the swing of things.

Hey Mike, it's time to write another blog post about some of the cool stuff you've been working on at Apple. Swift is open source so confidentiality shouldn't be a problem -- right?

Re: A deep dive into Swift’s function builders

#38

I must have a different idea of what “deep dive” means; this is simply going through the (relatively simple) motions of implementing a builder. “Deep dive”, to me, would look at how the compiler translates statements using these builders, for example, or reverse-engineering Apple’s builders for juicy information. I’ve recently forayed into SwiftUI to see what all the fuss was. I have to say, I really feel for people…

If you want actual in-depth articles, SwiftRocks has some good ones. For example: https://swiftrocks.com/how-never-works-internally-in-swift I also share this opinion. This hard-on that companies have of making coding easy for everyone will be the field's downfall. Just look how people are outraged whenever algorithm's are mentioned in interviews. I lost track of how many people with "senior" positions coming to inte…

That was a good article, thank you! Exactly what I expected from this “deep dive”.
Post reply on HN