Tag: Variables
4 posts
-
Java Variables and Types: Primitives, References, Casting and Autoboxing Pitfalls
Java primitives vs references: literal suffixes, silent int overflow, narrowing casts, String equality, Integer caching with ==, and unboxing NPEs.
-
Python Basic Syntax: Indentation Errors, Truthiness, Floor Division, f-strings and match
Python syntax that trips up newcomers: IndentationError and TabError, truthy values, chained comparisons, negative floor division, f-string specs and match.
-
JavaScript Values and Types: Primitives vs References, typeof Quirks, == vs ===, NaN and BigInt
How JavaScript values really behave: primitives vs references, copying objects, typeof null, == coercion rules, NaN checks, float precision and BigInt limits.
-
Go in 2 Weeks #01: Go's Philosophy and Core Syntax for C++ Developers
Go tutorial for C++ devs: install Go, := and var, for/range, garbage collection, go fmt, packages, and modules—side by side with C++.