Tagged articles
11 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Dec 31, 2025 · Fundamentals

8 Underrated TypeScript Features That Can Save Your Code

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
8 Underrated TypeScript Features That Can Save Your Code
php Courses
php Courses
Apr 3, 2025 · Backend Development

Using PHP's array_search() Function: Syntax, Examples, and Tips

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
Using PHP's array_search() Function: Syntax, Examples, and Tips
JavaScript
JavaScript
Mar 21, 2025 · Frontend Development

Master JavaScript Strict Mode: Benefits, Common Pitfalls, and How to Use It

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
Master JavaScript Strict Mode: Benefits, Common Pitfalls, and How to Use It
php Courses
php Courses
Aug 13, 2024 · Backend Development

Using PHP in_array() Function to Check Array Elements

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.

Arrayfunctionin_array
0 likes · 5 min read
Using PHP in_array() Function to Check Array Elements
php Courses
php Courses
Jul 22, 2023 · Backend Development

How to Use the PHP array_search() Function

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
How to Use the PHP array_search() Function
php Courses
php Courses
Mar 21, 2023 · Databases

Introduction to MySQL sql_mode and Its 10 Modes

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 SettingsSQL
0 likes · 4 min read
Introduction to MySQL sql_mode and Its 10 Modes
Sohu Tech Products
Sohu Tech Products
Feb 8, 2023 · Frontend Development

JavaScript's Forgotten Keyword: with

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.

JavaScriptScope ChainWITH
0 likes · 7 min read
JavaScript's Forgotten Keyword: with
37 Interactive Technology Team
37 Interactive Technology Team
Dec 12, 2022 · Frontend Development

Understanding the JavaScript "this" Keyword: From Basics to Deep Insights

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
Understanding the JavaScript "this" Keyword: From Basics to Deep Insights
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 19, 2021 · Databases

Understanding MySQL 5.7 SQL Mode: Default Values, Usage, and Practical Examples

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.

SQLSQL Modedata validation
0 likes · 10 min read
Understanding MySQL 5.7 SQL Mode: Default Values, Usage, and Practical Examples