Programmers need types or “The Another Billion Dollar Mistake”

Interpreted languages lack performance for large programs. When created they not meant to be used as today. But they must overcome this issue. For fast execution many alternative JIT implementations and even compilers have been created (V8, PyPy, LuaJI…


This content originally appeared on DEV Community and was authored by Ughur Huseyn

Interpreted languages lack performance for large programs. When created they not meant to be used as today. But they must overcome this issue. For fast execution many alternative JIT implementations and even compilers have been created (V8, PyPy, LuaJIT, Crystal, etc.). But efficient JITter or compiler needs type declarations. Therefore we can see many alternative syntaxes have been created also (Crystal, Cython etc.).
And type declarations also make code readable and editor friendly, they document your code. Scripting languages mainly created for automatic memory managment and productivity. But why did they drop type declaraions completely?!. Today we see almost all of them return type declarations back somehow (Python, PHP, Typescript). Is this "The Another Billion Dollar Mistake"?

Again, We programmers, need types. Not sure?

Javascript -> TypeScript, V8
Python -> Type hints, Cython, PyPy
PHP -> Type declarations, PHP 8 (JIT Compiler)
Ruby -> Crystal
Lua -> LuaJIT


This content originally appeared on DEV Community and was authored by Ughur Huseyn


Print Share Comment Cite Upload Translate Updates
APA

Ughur Huseyn | Sciencx (2021-10-07T21:12:45+00:00) Programmers need types or “The Another Billion Dollar Mistake”. Retrieved from https://www.scien.cx/2021/10/07/programmers-need-types-or-the-another-billion-dollar-mistake/

MLA
" » Programmers need types or “The Another Billion Dollar Mistake”." Ughur Huseyn | Sciencx - Thursday October 7, 2021, https://www.scien.cx/2021/10/07/programmers-need-types-or-the-another-billion-dollar-mistake/
HARVARD
Ughur Huseyn | Sciencx Thursday October 7, 2021 » Programmers need types or “The Another Billion Dollar Mistake”., viewed ,<https://www.scien.cx/2021/10/07/programmers-need-types-or-the-another-billion-dollar-mistake/>
VANCOUVER
Ughur Huseyn | Sciencx - » Programmers need types or “The Another Billion Dollar Mistake”. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/07/programmers-need-types-or-the-another-billion-dollar-mistake/
CHICAGO
" » Programmers need types or “The Another Billion Dollar Mistake”." Ughur Huseyn | Sciencx - Accessed . https://www.scien.cx/2021/10/07/programmers-need-types-or-the-another-billion-dollar-mistake/
IEEE
" » Programmers need types or “The Another Billion Dollar Mistake”." Ughur Huseyn | Sciencx [Online]. Available: https://www.scien.cx/2021/10/07/programmers-need-types-or-the-another-billion-dollar-mistake/. [Accessed: ]
rf:citation
» Programmers need types or “The Another Billion Dollar Mistake” | Ughur Huseyn | Sciencx | https://www.scien.cx/2021/10/07/programmers-need-types-or-the-another-billion-dollar-mistake/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.