What JavaScript Developers Can Learn from C++

Types, memory and how learning a lower-level language can make you a better programmer

The end of time? Image by Jens Kreuter, modified by Bret Cameron.

“Any fool can know. The point is to understand.” — Albert Einstein

Type Coercion in JavaScript

Types and Memory Management in C++

Why Memory Matters: A Use-Case About the End of Time

Memory Management in JavaScript

“JavaScript automatically allocates memory when objects are created and frees it when they are not used anymore (garbage collection). This automaticity is a potential source of confusion: it can give developers the false impression that they don’t need to worry about memory management.” — MDN

Types in JavaScript

Conclusion

Writer and developer based in London. On Medium, I write about JavaScript and web development 💻

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store