2023-12-20
1951
#typescript
Debjyoti Banerjee
183896
109
Dec 20, 2023 â‹… 6 min read

Using strongly typed vs. statically typed code

Debjyoti Banerjee I'm Debjyoti, software engineer and game developer. Currently exploring JavaScript and Flutter, and trying to come up with solutions to problems in the healthcare sector. Love open source.

Recent posts:

The 10 Best React Native Component Libraries You Should Know

The 10 best React Native UI libraries of 2025

UI libraries like React Native Paper and React Native Elements offer pre-developed components that help us deliver our React Native projects faster.

Aman Mittal
Feb 21, 2025 â‹… 7 min read
top ten docker alternatives worth considering

The 10 best Docker alternatives to consider

Although Docker remains the dominant platform for containerization and container management, it’s good to know about different tools that may work better for certain use cases.

Ayooluwa Isaiah
Feb 21, 2025 â‹… 13 min read
how to use the ternary operator in javascript

How to use the ternary operator in JavaScript

Add to your JavaScript knowledge of shortcuts by mastering the ternary operator, so you can write cleaner code that your fellow developers will love.

Chizaram Ken
Feb 21, 2025 â‹… 7 min read
Using tsup To Bundle Your TypeScript Package

Using tsup to bundle your TypeScript package

Learn how to efficiently bundle your TypeScript package with tsup. This guide covers setup, custom output extensions, and best practices for optimized, production-ready builds.

Muhammed Ali
Feb 20, 2025 â‹… 7 min read
View all posts

One Reply to "Using strongly typed vs. statically typed code"

  1. in C you can absolutely put an array inside an int variable, i can say more, you can put an int array inside a char variable, JavaScript is dynamically typed but doesn’t allow types to collide without explicit conversion, so you can never force the data of an array to become something else, every operator that converts types in Javascript has a well established result that is type safe, the problem of javascript is that those established conversion don’t always make sense, and that confuses people, but you could never interpret a type of data as it was of a different type (like you can in C).
    for example in C you can define a char variable, assign an integer value to it and when you try to print it it will implicitly interpret that value as a character, that is as type unsafe as you can be, maybe only assembly or machine code can be more type unsafe than this.

Leave a Reply