TypeScript | Stack | Fluid Attacks Help

TypeScript

Rationale

TypeScript is Fluid Attacks' main front-end programming language.

The main reasons why we chose it over other alternatives are:
  1. It is Open Source.
  2. It is a high level programming language that is fairly easy to understand when compared to others.
  3. It has a big community that supports thousands of libraries, making it very flexible.
  4. It has a big market, allowing us to easily find developers that have worked with it previously.
  5. It has static typing support, which helps with maintainability, clarity and debugging.
  6. It is a compiled language, meaning that it requires to spend extra time on compilation, but also increases source code quality by validating many things that interpreted languages do not.
  7. It is the most popular programming language to use along Node.js.

Alternatives

The following languages were considered and not chosen for the following reasons.

CoffeeScript

  1. It has much smaller community, making it less flexible.
  2. It has a small market, so finding experienced developers is way harder.
  3. It has been shadowed by TypeScript in the recent years.
  4. It uses its own syntax, increasing cognitive burden on developers.

    ClojureScript

    1. It has much smaller community, making it less flexible.
    2. It has a small market, so finding experienced developers is way harder.
    3. It has been shadowed by TypeScript in the recent years.
    4. It uses its own syntax, increasing cognitive burden on developers.

    Usage

    TypeScript is used by:
    1. Airs
    2. Development documentation
    3. Gitlab Bot
    4. Integrates Front
    5. Jira integration
    6. VSCode Extension