14 posts tagged ‘Language Design’
Niklaus Wirth, RIP
Bertrand Meyer (Hacker News, Slashdot, Reddit): We lost a titan of programming languages, programming methodology, software engineering and hardware design. Niklaus Wirth passed away on the first of January. We mourn a pioneer, colleague, mentor and friend. David M Williams: Wirth is well-remembered for his pioneering work in programming languages and algorithms. For these achievements, […]
Triggering Swift Property Observers From Initializers
Natalia Panferova: In Swift, property observers such as willSet and didSet are not called when a property is set in an initializer. This is by design, as the initializer's purpose is to set up the initial state of an object, and during this phase, the object is not yet fully initialized. However, if we need […]
Swift Proposal: Typed Throws
SE-0413: Swift is known for being explicit about semantics and using types to communicate constraints that apply to specific APIs. From that perspective, the fact that all thrown errors are of type any Error feels like an outlier. However, it reflects the view laid out in the original error handling rationale that errors are generally […]
Moving on From Xojo
Sam Rowlands: Since 1998, I’ve built every single Mac app with the Xojo development tool (Aka Real Studio and REALbasic).Over the last ¾ of a decade, Xojo started ignoring bugs, feature requests and industry trends. New features felt rushed, incomplete and sometimes unusable. Dark mode support and concurrency are two prime examples. Something is clearly […]
Bike Outline Paths
Jesse Grosjean: Use outline paths to query your Bike outlines. Today they are used through AppleScript and Shortcuts actions. In the future they will be used to build new features such as stylesheets and outline filtering. There’s a video demonstrating them and documentation for the syntax. Previously: Bike 1.12
Swift Proposal: Pack Iteration
SE-0408: Currently, it is possible to express list operations on value packs using pack expansion expressions. This approach requires putting code involving statements into a function or closure. For example, limiting repetition patterns to expressions does not allow for short-circuiting with break or continue statements, so the pattern expression will always be evaluated once for […]