Tagged articles
strict-mode
13 articles · Page 1 of 1
This tutorial demonstrates MySQL 8.0 configuration of character sets, collations, time zones, and SQL modes through reproducible experiments, showing how connection settings differ from server defaults, how utf8mb4 handles emojis, why TIMESTAMP converts across time zones while DATETIME does not, and how strict SQL mode rejects out-of-range values.
MySQLcharacter-setcollation
0 likes · 20 min read

This article walks through twelve concrete TypeScript best‑practice patterns for React—covering props typing, avoiding React.FC, proper children and event types, useState and useRef inference, generic components, API‑driven type generation, strict mode, and utility types—to boost productivity and type safety.
PropsReactTypeScript
0 likes · 10 min read

This article showcases eight often‑overlooked TypeScript capabilities—discriminated unions, as const,{ } tuples, template literal types, keyof + typeof, strict mode, noUncheckedIndexedAccess, and type augmentation—each with concrete examples and practical guidance on how they improve type safety and reduce boilerplate.
TypeScriptas constdiscriminated unions
0 likes · 7 min read

This article explains PHP's array_search() function, covering its syntax, basic usage, strict mode type comparison, handling of multidimensional arrays, return values, and practical examples to help developers efficiently locate values within arrays.
PHParray_searchmultidimensional array
0 likes · 4 min read

This guide explains JavaScript’s Strict Mode—how to enable it with "use strict", why it improves code safety and engine optimization, and highlights common traps such as undeclared variables, deleting identifiers, duplicate parameters, octal literals, with statements, and incorrect this binding, offering correct practices for each.
JavaScriptcodingfrontend
0 likes · 4 min read

This article explains PHP's in_array() function, detailing its syntax, parameters, return values, and demonstrates basic usage, strict mode comparison, and searching within multidimensional arrays through clear code examples and explanations for developers seeking efficient array handling techniques.
Functionarrayin_array
0 likes · 5 min read

This article explains the PHP in_array() function, its syntax, parameters, return values, and demonstrates basic usage, strict mode, and multidimensional array searches with clear code examples and explanations.
PHParrayin_array
0 likes · 5 min read

This article explains PHP's array_search() function, covering its syntax, basic usage, strict mode type comparison, handling of multidimensional arrays, and return values, providing code examples to help developers efficiently locate values and retrieve keys in arrays.
PHParray_searchmultidimensional array
0 likes · 5 min read

This tutorial explains the PHP array_search() function, covering its basic syntax, optional strict mode, searching within multidimensional arrays, and using an offset to find values after a specific position, complete with clear code examples for each scenario.
PHParray_searchmultidimensional array
0 likes · 6 min read

This article explains the MySQL sql_mode setting, details each of its ten modes—including STRICT_TRANS_TABLES, STRICT_ALL_TABLES, and ONLY_FULL_GROUP_BY—provides a command to view the current mode, and also includes a brief promotion for a PHP training class.
Database ConfigurationDatabase SettingsMySQL
0 likes · 4 min read

The article explains the obscure JavaScript 'with' keyword, demonstrating its syntax and behavior, detailing how it manipulates the scope chain, and outlining the numerous drawbacks—including strict‑mode prohibition, variable shadowing, security risks, performance penalties, and poor maintainability—that make its use inadvisable.
JavaScriptWITHscope chain
0 likes · 7 min read

This article demystifies JavaScript’s this keyword by covering its runtime binding rules in global, function, method, constructor, prototype, and arrow contexts, explaining strict‑mode differences, call/apply/bind usage, event‑handler behavior, and the underlying ECMAScript reference mechanics that determine its value.
Arrow FunctionsJavaScriptcall apply bind
0 likes · 16 min read

This article explains MySQL's SQL Mode concept, lists the default mode values for MySQL 5.7, demonstrates how to view and change the mode with SQL commands, describes the impact of common modes such as STRICT_TRANS_TABLES and ONLY_FULL_GROUP_BY, and provides a complete reference table of all supported mode values and predefined mode combinations.
MySQLSQLdata validation
0 likes · 10 min read
