Giter VIP home page Giter VIP 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

- icon -

The ω function is a non-recursive, non-terminating function; this is an implementation of it in Objective-C.

arborescence icon arborescence

arborescence, n. a quality of being treelike in growth or appearance.

auspicion icon auspicion

Convenient LLVM compiler API for Objective-C.

box icon box

Swift µframework of the ubiquitous Box<T> & MutableBox<T> reference types, for recursive value types & misc. other purposes.

build-stack icon build-stack

Build stack packages from Atom via https://atom.io/packages/build

cabal icon cabal

Official upstream development repository for Cabal and cabal-install

cabal-helper icon cabal-helper

Simple interface to some of Cabal's configuration state, used by ghc-mod. CI: https://gitlab.com/dxld/cabal-helper/pipelines

capefish icon capefish

A Ruby on Rails filesystem-based content management system.

continuations icon continuations

Continuations, CPS, co-functions, and combinators for working with them

delay icon delay

µframework for lazy evaluation in Swift.

distribution icon distribution

Probability distributions à la Deriving a Probability Density Calculator by Wazim Mohammed Ismail & Chung-chieh Shan http://homes.soic.indiana.edu/ccshan/rational/pearl.pdf

dragon icon dragon

Renders iterations of the dragon curve to SVG

drgn icon drgn

A Cocoa app which draws the dragon curve. cf http://en.wikipedia.org/wiki/Dragon_curve

effects icon effects

An implementation of "Freer Monads, More Extensible Effects".

either icon either

Swift µframework of Either, which represents two alternatives.

elab icon elab

Dependently-typed language to experiment with An Algebraic Approach to Typechecking and Elaboration

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.