Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.
This repository was archived by the owner on Apr 18, 2018. It is now read-only.

Classes and Privacy in Modern Javascript #83

@benweissmann

Description

@benweissmann

While the class keyword might be new in ES6, the concept of classes, inheritance, and privacy has been tackled in a myriad of ways. This talk will cover what options are available now, how you might choose between them, and what's coming down the pipe in future versions of Javascript.

This talk will start with a discussion of why classes and inheritance might (or might not!) be important to your project -- be it a big Javascript app, a quick weekend hackathon project, or a widely-adopted library. I'll then move on to a brief overview of how the problem was tackled before ES5 (with prototypal inheritance, naming conventions, Crockford-style constructors, and libraries like Prototype), a tour through new ES5 and ES6 features (the class keyword, and how Symbol and WeakMap can provide privacy), and finally look forward to ES7 and beyond (standards-track proposals like decorators and privacy keywords). I'll also cover how this is handled in compile-to-javascript languages like Typescript, but the focus will primarily be on standard Javascript techniques.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions