Dynamic / Static
To understand why, you have to understand a little bit about codebases.
Which means the only way to check for errors is to inspect the code while it is running. Which means scripts can compile even if they contain errors that will ultimately prevent the script from running properly. Or at all.
And while dynamically typed languages can make programming faster in the beginning, they require the engineer to keep all types in their head. That works OK on a small project with few changes. But on a huge project with literally hundreds of files, you end up spending an inordinate amount of time digging through the codebase to figure out what things are.
That guesswork slows development and increases the risk of catastrophic errors down the line.
Statically typed languages, like Typescript, define and automate correctness. They check the source code, not the running state, and by doing so detect problems that might otherwise derail a project. In a statically typed language, a script will not compile at all if it contains errors.
“BiTE was hired to integrate Bluetooth into our React Native app. They left having drastically improved the app’s accessibility, combined two separate apps into a single codebase, and converted major portions of the code to Typescript, something we’d wanted done for a long time.”
Chief Operating Officer
Defense / Offense
It turned out Care Innovations had been wanting that for a long time and were thrilled to make it happen.
Translating the dynamic into the static was a big job. It took guesswork and investigation and trial and error, but by doing so we gave definition to the undefined, and solidified the fluid. So features could be developed more easily and more safely, bugs could be fixed without us worrying something else was broken in the process, and the codebase could be scaled and refactored without requiring another game of 20 questions.
For a health sciences company, accuracy and safety are paramount. And that’s true whether we’re talking about life-saving clinical trials or codebases that run them. By converting to Typescript, we made the code safer.
Care Innovations was so happy with the way we integrated into their team and rehabbed their code, that what started as a short, urgent project to integrate Bluetooth turned into a long, happy relationship.
How Can We Help With Your Next Mobile Project
Contact us to discuss your next app, request a proposal, or put us right to the task of carrying your software to the finish line.