GithubHelp home page GithubHelp logo

Many Types Make Light Work

This is the talk which I gave at NSScotland 2014 in Edinburgh on October 26, 2014. I will be giving it at NSNorth 2015, April 10-12, 2015.

The talk is written in Deckset-flavoured Markdown.

A recording of my presentation of v1.0 of this talk at NSScotland is available.

Synopsis (for the conf)

Every programmer regularly faces the challenges of managing complexity and change. Subclassing can help us simplify, by sharing code and interfaces between related parts of our program. But when requirements change out from under our class hierarchy, unanticipated fragility can mean bugs, sweat and tears. Swift offers us a better way.

TL;DR

Subclassing is a broken idea, so factor & compose instead where possible, and when Cocoa makes you subclass, do it in a factored, composable way.

Rob Rix's Projects

q icon q

q is for query

reducers icon reducers

Clojure-inspired reducers for Cocoa & Cocoa Touch.

rxallocator icon rxallocator

A dumb bump pointer allocator designed dumbly to be as dumb as dumbness itself.

rxdispatch icon rxdispatch

Thin wrappers around GCD objects so that blocks will automatically capture references to them.

rxfutures icon rxfutures

Race-free completion and cancellation of asynchronous work.

rxjsoncoder icon rxjsoncoder

An experimental implementation of JSON encoding/decoding in ObjC using NSCoder/NSCoding

rxpaths icon rxpaths

Serialize and deserialize paths to an SVG path command-compatible format

rxtraits icon rxtraits

Trait-ish decorators, as an alternative to RXConcreteProtocol.

rxvisitor icon rxvisitor

A convenient implementation of Visitor pattern for Objective-C collections.

semirings-modules icon semirings-modules

Semirings, with and without additive/multiplicative identities, and R-modules.

seq icon seq

a µµ̃ calculus with pretty-printing and evaluating interpreters

sequoia icon sequoia

classical sequent calculus, embedded in Haskell

set icon set

An implementation of Multiset and PredicateSet in Swift.

silkscreen icon silkscreen

Prettyprinting transformers for rainbow parens, precedence, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.