News for hackers. Stuff that matters.
Re:Building DSLs in Swift by saagarjha on Sunday October 14, 2018 @08:59PM (#18216640)
I don’t quite see the need for LayoutProxy, or a layout method. Why not just extend UIView with a category which defines properties that add constraints when assigned to?
Re:Building DSLs in Swift by bunnycorn on Sunday October 14, 2018 @09:36PM (#18216799)
The article is not about AutoLayout. It's about DSL's, most commenters didn't even read the article, and jumped right to poo-pooing AutoLayout.
Re:Building DSLs in Swift by saagarjha on Monday October 15, 2018 @06:25AM (#18218641)
Your comment might be useful in the context of this entire comment section, but I don't really see why you've chosen to reply to me in particular.
Re:Building DSLs in Swift by okket on Monday October 15, 2018 @04:23AM (#18218205)
Rule of HN: The first thread is always about a barely on-topic, but popular tangent and can often be ignored/closed.