speaker-info

James Wright

Software developer, YLD

James Wright is a full-stack software developer at YLD, and has a passion for web technologies. He is currently working with a variety of languages, and has engineered solutions for the likes of Sky, Channel 4, Trainline, and NET-A-PORTER. James additionally contributes to the open-source community on a regular basis. This is what he is going to talk about during the conference in Riga: “Rather than creating large, unmanageable base classes, we can compose our entities from smaller building blocks, maximising reusability without shoehorning arbitrary associations. This approach has recently gained popularity in JavaScript, particularly with React (e.g. higher-order components), but it is also possible to achieve composition with TypeScript; this talk will demonstrate the patterns and language features we can use to benefit from static typing when composing our classes.”

My Sessions

Composing Classes with TypeScript

Main hall

By using inheritance, it’s possible to share behaviours between related classes and objects within a well-defined graph. What happens when one wishes to reuse logic across units that have no clear relationship? Rather than creating large, unmanageable base classes, we can compose our entities from smaller building blocks, maximising reusability without shoehorning arbitrary associations. This […]

READ MORE