Swift Style 2e
An Opinionated Guide to an Opinionated Language
Seiten
2019
The Pragmatic Programmers (Verlag)
978-1-68050-627-3 (ISBN)
The Pragmatic Programmers (Verlag)
978-1-68050-627-3 (ISBN)
Discover the dos and don'ts involved in crafting readable Swift code as you explore common Swift coding challenges and the best practices that address them. From spacing, bracing, and semicolons to proper API style, discover the whys behind each recommendation, and add to or establish your own house style guidelines. Refreshed to cover Swift 4 and 5, this practical, powerful, and opinionated guide offers the best practices you need to know to work successfully in this equally opinionated programming language.
Apple's Swift programming language has finally reached stability, and developers are demanding to know how to program the language properly. Swift Style guides you through the ins and outs of Swift programming best practices. Refreshed for Swift 4 and 5, this is the best practices book for serious, professional Swift programmers and for programmers who want to shine their skills to be hired in this demanding market.
A style guide offers a consistent experience of well-crafted code that lets you focus on the code's underlying meaning, intent, and implementation. This book doesn't offer canonical answers on Swift coding style. It explores the areas of Swift where structure comes into play. Whether you're developing a personal style or a house style, there are always ways to enhance your code choices. You'll find here the ideas and principles to establish or enhance your own best style practices.
Begin with simple syntactical styling. Perfect spacing and layout. Master literal initialization and typing. Strengthen code bracing for easy readability. Style your closures for safety and resilience. Optimize control flow layout and improve conditional style choices. Transition from Objective-C and move code into Swift the right way. Boost API design using proper naming and labeling. Elevate defaulted arguments and variadics to their right places. Finally, Erica offers her own broad recommendations on good coding practice.
What You Need:
A recent version of the Swift programming language.
Apple's Swift programming language has finally reached stability, and developers are demanding to know how to program the language properly. Swift Style guides you through the ins and outs of Swift programming best practices. Refreshed for Swift 4 and 5, this is the best practices book for serious, professional Swift programmers and for programmers who want to shine their skills to be hired in this demanding market.
A style guide offers a consistent experience of well-crafted code that lets you focus on the code's underlying meaning, intent, and implementation. This book doesn't offer canonical answers on Swift coding style. It explores the areas of Swift where structure comes into play. Whether you're developing a personal style or a house style, there are always ways to enhance your code choices. You'll find here the ideas and principles to establish or enhance your own best style practices.
Begin with simple syntactical styling. Perfect spacing and layout. Master literal initialization and typing. Strengthen code bracing for easy readability. Style your closures for safety and resilience. Optimize control flow layout and improve conditional style choices. Transition from Objective-C and move code into Swift the right way. Boost API design using proper naming and labeling. Elevate defaulted arguments and variadics to their right places. Finally, Erica offers her own broad recommendations on good coding practice.
What You Need:
A recent version of the Swift programming language.
Erica Sadun enjoys deep diving into technology and has written, co-written, and contributed to dozens of books about computing and digital media. Sadun has blogged at TUAW, Ars Technica, O'Reilly, and Lifehacker, and has (to date) authored or co-authored more Swift proposals than anyone, including everyone on Apple's Core Team.
Erscheinungsdatum | 27.06.2022 |
---|---|
Verlagsort | Raleigh |
Sprache | englisch |
Maße | 190 x 234 mm |
Gewicht | 406 g |
Themenwelt | Informatik ► Betriebssysteme / Server ► Macintosh / Mac OS X |
Informatik ► Programmiersprachen / -werkzeuge ► Mac / Cocoa Programmierung | |
Informatik ► Software Entwicklung ► Mobile- / App-Entwicklung | |
Informatik ► Weitere Themen ► Hardware | |
ISBN-10 | 1-68050-627-7 / 1680506277 |
ISBN-13 | 978-1-68050-627-3 / 9781680506273 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
das Handbuch für iMac, Mac mini und MacBook
Buch | Softcover (2023)
dpunkt (Verlag)
26,90 €
Der richtige Umgang mit Apples Tablet
Buch | Softcover (2021)
dpunkt (Verlag)
26,90 €
Schritt für Schritt einfach erklärt
Buch | Softcover (2023)
Markt + Technik (Verlag)
19,95 €