Tagged articles
41 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Mar 17, 2026 · Fundamentals

Java Basics: Understanding Primitive Data Types from Scratch

This article explains Java's primitive data types—including integer, floating‑point, character, and boolean types—covers their memory sizes, value ranges, literal syntax, automatic and explicit type conversions, and provides concrete code examples and tables for reference.

Javabooleanchar
0 likes · 16 min read
Java Basics: Understanding Primitive Data Types from Scratch
Lisa Notes
Lisa Notes
Mar 1, 2026 · Fundamentals

Python Relational Operators: A Beginner’s Guide from Zero

This tutorial explains Python's relational operators, how they compare numbers and strings to produce Boolean results, lists the available operators, shows typical use in if statements and loops, and provides concrete code examples with expected output.

Pythonbooleanif statement
0 likes · 3 min read
Python Relational Operators: A Beginner’s Guide from Zero
php Courses
php Courses
Jan 22, 2026 · Backend Development

Mastering PHP’s true Boolean: Conditions, Returns, and File Writing

This guide explains PHP’s true boolean value, demonstrates its use in conditional statements, shows how functions like file_put_contents return true on success, and provides practical code examples for assigning and testing true in real‑world scripts.

Conditionalbooleanfile_put_contents
0 likes · 3 min read
Mastering PHP’s true Boolean: Conditions, Returns, and File Writing
php Courses
php Courses
Nov 27, 2025 · Backend Development

How to Use PHP’s is_bool() to Check Boolean Types

This guide explains the PHP is_bool() function, its syntax, parameters, return values, and provides concrete code examples that demonstrate how to determine whether a variable is of boolean type and handle different variable values correctly.

BackendPHPboolean
0 likes · 3 min read
How to Use PHP’s is_bool() to Check Boolean Types
macrozheng
macrozheng
Sep 29, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

SQLite, often dismissed as a toy, proves its robustness by adding powerful SQL capabilities in 2018—including boolean literals, window functions, FILTER clauses, upsert syntax, and column renaming—making it a viable choice for production workloads despite lacking a network layer.

New FeaturesSQLSQLite
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Architect
Architect
Sep 17, 2025 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article explores the latest SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0 in 2018, covering boolean literals, window functions, FILTER clauses, upsert syntax, column renaming, and related API changes, with code examples and practical usage notes.

SQLSQLiteUpsert
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Code Mala Tang
Code Mala Tang
Mar 15, 2025 · Fundamentals

Why Use Python’s ‘not not x’ Trick? Converting Values to True/False

This article explains the Python idiom “not not x”, showing how double negation converts any value to a strict Boolean, why it can be preferable to bool(x), and presents practical scenarios such as strict type requirements, avoiding is‑comparison pitfalls, data normalization, and clearer conditional statements.

Code ExamplesPythonboolean
0 likes · 6 min read
Why Use Python’s ‘not not x’ Trick? Converting Values to True/False
php Courses
php Courses
Feb 17, 2025 · Backend Development

Using PHP is_bool() to Check Boolean Variables

This article explains how the PHP is_bool() function can be used to determine whether a variable holds a boolean value, provides clear code examples with different variable types, and shows the resulting output to illustrate correct usage.

BackendTutorialboolean
0 likes · 4 min read
Using PHP is_bool() to Check Boolean Variables
php Courses
php Courses
Feb 8, 2025 · Backend Development

Using PHP is_bool() to Check Boolean Variables

This article explains PHP's built-in is_bool() function, demonstrates how it determines whether a variable is a boolean, and provides practical code examples showing its behavior with true, false, integer, and string values.

Tutorialbooleanfunction
0 likes · 3 min read
Using PHP is_bool() to Check Boolean Variables
DaTaobao Tech
DaTaobao Tech
Dec 13, 2024 · Databases

MyBatis Boolean vs Boolean: Unexpected 0 Value and Fix

Because MyBatis reads a primitive boolean field directly when no getter exists, the default false value is bound as 0, causing an unexpected zero in the MySQL tinyint column; changing the field to the Boolean wrapper (initialized to true) or fixing the update logic resolves the issue.

DebuggingJavaMyBatis
0 likes · 9 min read
MyBatis Boolean vs Boolean: Unexpected 0 Value and Fix
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 3, 2024 · Frontend Development

Explicit and Implicit Type Conversion in JavaScript and the Use of Boolean

This article explains JavaScript's explicit and implicit type conversions, demonstrates how to use constructors and methods like String(), Number(), Boolean(), toString(), parseInt(), details falsy and truthy values, and shows practical applications of Boolean in conditional statements, array filtering, and TypeScript.

Explicit ConversionImplicit ConversionJavaScript
0 likes · 7 min read
Explicit and Implicit Type Conversion in JavaScript and the Use of Boolean
php Courses
php Courses
Sep 20, 2024 · Backend Development

Using PHP is_bool() to Check Boolean Variables

This article explains PHP's built‑in is_bool() function, demonstrates its usage with several variable examples, shows the resulting output, and highlights why only true and false values are recognized as booleans in typical PHP programming contexts.

PHPbooleanis_bool
0 likes · 3 min read
Using PHP is_bool() to Check Boolean Variables
php Courses
php Courses
Sep 10, 2024 · Backend Development

Using PHP is_bool() to Determine Boolean Variables

This article explains PHP's is_bool() function, its syntax, parameters, return values, and provides a detailed code example demonstrating how to check whether variables are of boolean type, along with analysis of the output and practical usage tips.

BackendPHPboolean
0 likes · 3 min read
Using PHP is_bool() to Determine Boolean Variables
Java Tech Enthusiast
Java Tech Enthusiast
Jul 24, 2024 · Databases

Differences Between MySQL TINYINT(1) and BIT(1) for Boolean Storage

MySQL’s TINYINT(1) stores a full byte integer allowing any value from 0‑255 (or –128‑127 signed) and works with arithmetic, offering broad compatibility, while BIT(1) stores a single bit limited to 0 or 1, is MySQL‑specific, and is best used only when true/false storage and minimal space are essential, making TINYINT(1) the generally preferred choice unless strict boolean constraints apply.

BitData TypesTINYINT
0 likes · 4 min read
Differences Between MySQL TINYINT(1) and BIT(1) for Boolean Storage
IT Services Circle
IT Services Circle
Jul 20, 2024 · Databases

Differences Between TINYINT(1) and BIT(1) in MySQL

Both TINYINT(1) and BIT(1) are common MySQL data types for storing Boolean values, but they differ in storage size, range, syntax, compatibility, and ideal use cases, with TINYINT offering broader integer support and portability, while BIT provides true single‑bit storage for strict Boolean fields.

BitCompatibilityData Types
0 likes · 6 min read
Differences Between TINYINT(1) and BIT(1) in MySQL
php Courses
php Courses
Jul 18, 2024 · Backend Development

Using PHP is_bool() to Check Whether a Variable Is Boolean

This article explains how to use PHP's built-in is_bool() function to determine whether a variable holds a boolean value, provides clear code examples with four different variables, shows the expected output, and discusses why certain values are not considered booleans.

BackendPHPboolean
0 likes · 4 min read
Using PHP is_bool() to Check Whether a Variable Is Boolean
php Courses
php Courses
Jul 9, 2024 · Backend Development

Understanding the Boolean true in PHP and Its Common Uses

This article explains the PHP boolean true, its role in conditionals and function return values, and demonstrates common usage through examples such as simple if statements, file writing with file_put_contents, and boolean variable assignments, illustrating how true indicates successful operations.

BackendConditionalsboolean
0 likes · 3 min read
Understanding the Boolean true in PHP and Its Common Uses
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Mar 13, 2024 · Databases

Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More

This article explores SQLite’s 2018 SQL feature updates—from boolean literals and truth testing to window functions, FILTER clauses, upsert syntax, column renaming, and related API changes—highlighting syntax details, limitations, and practical examples for developers seeking to leverage these modern capabilities in production.

Database FeaturesSQLSQLite
0 likes · 10 min read
Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More
php Courses
php Courses
Jan 19, 2024 · Backend Development

Using PHP is_bool() to Determine Boolean Types

This article explains PHP's is_bool() function, its syntax, parameters, return values, and provides a complete code example showing how to check various variables for boolean type and interpret the results in practical development scenarios.

BackendTutorialboolean
0 likes · 3 min read
Using PHP is_bool() to Determine Boolean Types
php Courses
php Courses
Nov 18, 2023 · Backend Development

Using PHP's is_bool() Function to Check Boolean Types

This article explains how the PHP is_bool() function determines whether a variable is of boolean type, provides its syntax, parameter and return details, includes a complete code example with execution results, and highlights its practical use for type validation in backend development.

booleanis_boolphp-functions
0 likes · 4 min read
Using PHP's is_bool() Function to Check Boolean Types
Open Source Linux
Open Source Linux
Mar 21, 2023 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews the SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0, covering boolean literals, window functions, the FILTER clause, upsert syntax, column renaming, and related API changes, while comparing SQLite’s support to other major database systems.

FILTER clauseSQLSQLite
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jul 1, 2022 · Backend Development

Why Dubbo Async Calls Return False for boolean? A Deep Dive and Fix

An in‑depth investigation reveals why Dubbo’s asynchronous calls return false when the service method returns a primitive boolean, reproduces the issue with a demo, traces the problem to the asyncCall implementation, and proposes a code fix to prevent this subtle bug.

async-callbooleanbug-fix
0 likes · 10 min read
Why Dubbo Async Calls Return False for boolean? A Deep Dive and Fix
Top Architect
Top Architect
Oct 11, 2021 · Backend Development

Why Using isXXX Naming for Boolean Fields in Java Is Discouraged: Guidelines and Examples

The article explains why naming Boolean fields with the isXXX pattern in Java is discouraged, illustrates correct and incorrect getter/setter conventions with code examples, discusses JavaBeans specifications and RPC serialization issues, and recommends using wrapper types for POJOs while keeping primitives for local variables.

JavaJavaBeansRPC
0 likes · 5 min read
Why Using isXXX Naming for Boolean Fields in Java Is Discouraged: Guidelines and Examples
21CTO
21CTO
Mar 10, 2021 · Information Security

When a Name Like “true” Locks Your iCloud: Lessons in Input Validation

An Apple iCloud account was denied and the user’s ID locked for six months because her surname “true” was mistakenly treated as a Boolean value, highlighting how unescaped input can trigger security mechanisms and the importance of proper string handling in software systems.

SQL injectionbooleaniCloud
0 likes · 5 min read
When a Name Like “true” Locks Your iCloud: Lessons in Input Validation
Programmer DD
Programmer DD
Feb 3, 2021 · Backend Development

Why Using isXXX for Boolean Fields Is a Bad Idea in Java

This article explains the Java naming conventions for boolean and Boolean fields, why using the isXXX prefix can cause serialization issues in RPC frameworks, and recommends using wrapper types for POJO properties while keeping primitives for local variables.

Alibaba Java ManualBackend DevelopmentJava
0 likes · 6 min read
Why Using isXXX for Boolean Fields Is a Bad Idea in Java
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 23, 2019 · Backend Development

Choosing Between boolean and Boolean for POJO Fields: Naming, Default Values, and Serialization Implications

This article examines how to correctly define boolean-type member variables in Java POJOs, comparing primitive boolean and wrapper Boolean, discussing naming conventions like success vs isSuccess, default values, JavaBeans getter/setter rules, and the impact on JSON serialization across fastjson, Gson, and Jackson.

JSONJavaNaming Convention
0 likes · 12 min read
Choosing Between boolean and Boolean for POJO Fields: Naming, Default Values, and Serialization Implications
Qunar Tech Salon
Qunar Tech Salon
May 10, 2018 · Frontend Development

Understanding JavaScript Type Coercion: Implicit and Explicit Conversions

This article explains JavaScript's type coercion mechanisms, covering both implicit and explicit conversions for strings, numbers, booleans, objects, and symbols, and demonstrates how abstract operations like ToPrimitive, ToString, ToNumber, and ToBoolean affect runtime behavior.

ES5Explicit ConversionImplicit Conversion
0 likes · 17 min read
Understanding JavaScript Type Coercion: Implicit and Explicit Conversions
AI Cyberspace
AI Cyberspace
Dec 28, 2017 · Fundamentals

What Happens When You Add True + True in Python?

This article explains how Python treats the Boolean type as a subclass of integer, demonstrates the results of arithmetic and augmented operations on True, and shows why assigning to True or False is allowed in Python 2 but prohibited in Python 3.

PythonPython 2 vs 3boolean
0 likes · 7 min read
What Happens When You Add True + True in Python?