What is Typescript ?
Advantages of Typescript
- Code easier to understand
- Code easier to refactor
- Code easier and faster to implement
- Less tests : Less tests means shorter time to develop new features, and a smaller codebase, which in turn is less complicated, less error-prone and easier to maintain.
- Code easier to merge
Disadvantages of Typescript
- Developers mastering C#, C++ or Java often argue that TypeScript is not a true statically typing language.
- Transpiling :
Alternatives to Typescript
Dart is a programming language designed for client development, such as for the web and mobile apps.
It is developed by Google and can also used to build server and desktop applications. Dart is an object-oriented, class-based, garbage-collected language with C-style syntax.
Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference.
Kotlin is designed to interoperate fully with Java, and the JVM version of its standard library depends on the Java Class Library, but type inference allows its syntax to be more concise.
The Babel ecosystem is very rich, and there are many useful Babel plugins. When using TypeScript you can’t use that ecosystem.
idx: Transpile the idx function to efficient code styled-jsx: Transpile scoped CSS from JSX components react-intl: Extract text for translation
Interested in reading more such articles from Kushagra Sharma?
Support the author by donating an amount of your choice.