Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20

Swift Style

An Opinionated Guide to an Opinionated Language

Paperback Engels 2017 1e druk 9781680502350
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

Discover the do's 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. 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. This is the first 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. Strengthen code bracing for easy readability. Style your closures for safety and resilience. Perfect spacing and layout. Master literal initialization and typing. 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.

Specificaties

ISBN13:9781680502350
Taal:Engels
Bindwijze:paperback
Aantal pagina's:196
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:21-4-2017
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Erica Sadun

Erica Sadun is the bestselling author, coauthor, and contributor to several dozen books on programming, digital video and photography, and web design, including the widely popular The iOS 5 Developer's Cookbook. She currently blogs at TUAW.com and has blogged in the past at O’Reilly’s Mac Devcenter, Lifehacker, and Ars Technica. In addition to being the author of dozens of iOS-native applications, Erica holds a Ph.D. in computer science from Georgia Tech’s Graphics, Visualization and Usability Center. A geek, a programmer, and an author, she’s never met a gadget she didn’t love. When not writing, she and her geek husband parent three geeks-in-training, who regard their parents with restrained bemusement when they’re not busy rewiring the house or plotting global dominance.

Andere boeken door Erica Sadun

Inhoudsopgave

Welcome to Swift Style

1. Structure your code for readability
2. Adopt conventional styling
3. Establish preferred practices
4. Design the right APIs
5. Look to the past and the future
6. Good code

Index


Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Swift Style