Tagged articles
14 articles
Page 1 of 1
FunTester
FunTester
Oct 17, 2025 · Fundamentals

Why Does var Print 2 Twice? Unraveling JavaScript’s Function Scope and Hoisting

This article explains why a JavaScript function using var prints “2” twice, by detailing var’s function scope, variable hoisting, the compilation and execution phases, and contrasting the behavior with let and const, while offering practical coding recommendations to avoid common pitfalls.

JavaScriptVarconst
0 likes · 9 min read
Why Does var Print 2 Twice? Unraveling JavaScript’s Function Scope and Hoisting
Su San Talks Tech
Su San Talks Tech
Oct 12, 2025 · Backend Development

Unlock Java 17: 7 Game-Changing Features Every Developer Must Know

This article explores the most impactful Java 17 enhancements—including records, sealed classes, pattern matching, text blocks, var, enhanced switch, and new APIs—showing how they simplify code, improve readability, boost performance, and modernize Java development for both beginners and seasoned programmers.

JDK 17RecordSealed Classes
0 likes · 13 min read
Unlock Java 17: 7 Game-Changing Features Every Developer Must Know
JavaScript
JavaScript
Mar 2, 2025 · Frontend Development

Why ‘var’ Is Dangerous and How let/const Solve Its Pitfalls

This article examines why the traditional JavaScript var keyword should be avoided, explains the subtle pitfalls of its function scope, hoisting, and global leakage, and highlights the essential, often overlooked features of let and const—including temporal dead zone, true block scope, and immutability nuances.

JavaScriptVarconst
0 likes · 8 min read
Why ‘var’ Is Dangerous and How let/const Solve Its Pitfalls
Architecture Digest
Architecture Digest
Dec 5, 2024 · Artificial Intelligence

NeurIPS 2024 Best Paper Introduces Visual Autoregressive Modeling (VAR) for Image Generation

A recent NeurIPS 2024 best‑paper award highlights a novel Visual Autoregressive Modeling (VAR) approach that uses multi‑scale token prediction to improve image generation, while the surrounding article also mentions a free book giveaway and a legal dispute involving the paper's author.

Artificial IntelligenceComputer VisionDeep Learning
0 likes · 5 min read
NeurIPS 2024 Best Paper Introduces Visual Autoregressive Modeling (VAR) for Image Generation
php Courses
php Courses
Jul 5, 2023 · Frontend Development

Understanding var, let, and const in JavaScript

This article explains the differences between JavaScript's var, let, and const declarations, covering their scopes, hoisting behavior, and mutability, and provides clear code examples for each. It also highlights how const variables can still be modified when they hold objects or arrays, helping developers choose the right keyword for reliable code.

JavaScriptVarconst
0 likes · 5 min read
Understanding var, let, and const in JavaScript
Model Perspective
Model Perspective
Aug 11, 2022 · Fundamentals

Master VAR Modeling: Theory, Workflow, and Full Python Implementation

This guide explains the theory behind Vector Autoregression (VAR) models, outlines the complete modeling workflow—including data preparation, stationarity and cointegration testing, lag order selection, parameter estimation, stability diagnostics, and impulse‑response and variance‑decomposition analysis—and provides a full Python implementation with code examples.

ModelingPythonTime Series
0 likes · 9 min read
Master VAR Modeling: Theory, Workflow, and Full Python Implementation
Programmer DD
Programmer DD
Oct 5, 2021 · Backend Development

What’s New in Java 10? Exploring var, Immutable Collections, and Optional Enhancements

This article reviews the key Java 10 features—including the shortened six‑month release cycle, local‑variable type inference with the new var keyword, strengthened immutable collection APIs, the Optional.orElseThrow() method, and other performance and container‑integration improvements—while highlighting best‑practice pitfalls.

Immutable CollectionsJava 10Type Inference
0 likes · 7 min read
What’s New in Java 10? Exploring var, Immutable Collections, and Optional Enhancements
Top Architect
Top Architect
Aug 15, 2021 · Fundamentals

Key New Features in Java 9–16: Private Interface Methods, var, Switch Expressions, Records, Sealed Classes and More

This article reviews the most important Java language enhancements from version 9 through 16, covering private interface methods, diamond operators for anonymous classes, var type inference, improved try‑with‑resources, switch expressions, text blocks, records, refined NullPointerException messages, foreign memory access, sealed classes, and the new jpackage tool.

Java versionsSealed ClassesSwitch Expressions
0 likes · 12 min read
Key New Features in Java 9–16: Private Interface Methods, var, Switch Expressions, Records, Sealed Classes and More
21CTO
21CTO
Oct 9, 2018 · Backend Development

How IntelliJ IDEA Enhances Java 11: New Lambda var Support and Migration Tips

This article explains how IntelliJ IDEA supports Java 11 features such as lambda parameter var syntax, highlights removed APIs, and offers practical guidance for migrating code from Java 9 and 10 while showcasing IDE tools that simplify the transition.

IDE SupportIntelliJ IDEAJava 11
0 likes · 7 min read
How IntelliJ IDEA Enhances Java 11: New Lambda var Support and Migration Tips
Programmer DD
Programmer DD
Sep 19, 2018 · Backend Development

What’s New in JDK 11? Explore the Latest Java Features and Improvements

This article outlines the Java Community Process’s shift to a six‑month release cadence, explains the Release Candidate stage, and details JDK 11’s most notable enhancements—including ZGC, Epsilon, var extensions, removal of Java EE/CORBA modules, and a revamped HTTP client—providing developers with a concise overview of the new runtime capabilities.

Garbage CollectionHTTP clientJDK 11
0 likes · 6 min read
What’s New in JDK 11? Explore the Latest Java Features and Improvements
JavaScript
JavaScript
Feb 9, 2017 · Frontend Development

Why Can’t You Delete var‑Declared Globals in JavaScript?

JavaScript global variables can be created either explicitly with var or implicitly without it, but only the implicit globals are deletable; this article explains the underlying property descriptor differences, demonstrates delete behavior, and shows how to modify configurability using Object.defineProperty.

Vardelete operatorglobal variables
0 likes · 3 min read
Why Can’t You Delete var‑Declared Globals in JavaScript?
Java High-Performance Architecture
Java High-Performance Architecture
Oct 13, 2015 · Frontend Development

Understanding JavaScript Hoisting: Why console.log(test) Returns Undefined

JavaScript executes code by first compiling function and var declarations within a scope, then running statements top‑to‑bottom, which explains why accessing a var‑declared variable before its assignment yields undefined while referencing an undeclared variable throws an error, as illustrated through detailed examples.

JavaScriptVarexecution
0 likes · 4 min read
Understanding JavaScript Hoisting: Why console.log(test) Returns Undefined