Tagged articles
56 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Mar 22, 2026 · Fundamentals

Mastering Java Selection Statements: If, Else‑If, and Switch Explained

This tutorial walks through Java's selection structures—including if, if‑else, if‑else‑if, nested if, and switch—detailing their syntax, execution flow, example code, output results, and key differences, helping beginners write correct and portable conditional logic.

Control FlowJavaif statement
0 likes · 16 min read
Mastering Java Selection Statements: If, Else‑If, and Switch Explained
Lisa Notes
Lisa Notes
Mar 16, 2026 · Fundamentals

Python Fundamentals: Using While Loops with Composite Data Types

This note explains Python's while loop, detailing its three-part structure, special considerations such as the one‑time initial condition, lack of ++/-- operators and do‑while syntax, and provides a concrete example that prints "hello world" ten times.

Control FlowLoopsPython
0 likes · 3 min read
Python Fundamentals: Using While Loops with Composite Data Types
Lisa Notes
Lisa Notes
Mar 14, 2026 · Fundamentals

Mastering Common Nested if Statements in Python

This tutorial explains Python's nested if syntax, shows how single, double, and multi‑branch conditions can be combined, and walks through a practical ticket‑checking example that demonstrates input handling, conditional nesting, and the resulting output.

Control FlowPythonTutorial
0 likes · 3 min read
Mastering Common Nested if Statements in Python
Lisa Notes
Lisa Notes
Mar 11, 2026 · Fundamentals

Master Python if/else Statements with Practical Examples

This tutorial explains Python's selection structure by walking through three hands‑on exercises—checking if a number exceeds 16, determining odd or even, and calculating the day of the year (including leap‑year logic)—complete with code snippets and sample output.

Control FlowPythonexample-code
0 likes · 4 min read
Master Python if/else Statements with Practical Examples
Lisa Notes
Lisa Notes
Mar 9, 2026 · Fundamentals

Learn Python from Scratch: Using if and if‑else Statements

This tutorial explains Python's three program structures, then details the syntax and execution flow of single‑branch if statements and double‑branch if‑else statements with concrete code examples and their corresponding outputs.

Control FlowPythonTutorial
0 likes · 4 min read
Learn Python from Scratch: Using if and if‑else Statements
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 15, 2026 · Fundamentals

Master Linux Shell Scripting: From Basics to Real‑World Projects

This article provides a step‑by‑step guide to Linux shell scripting, covering the definition of a shell, common shells, naming rules, environment and user variables, control‑flow statements, functions, arrays, and several practical scripts such as a Hello World program, service checks, system backup, information collection, and one‑click LNMP deployment.

ArraysAutomationControl Flow
0 likes · 23 min read
Master Linux Shell Scripting: From Basics to Real‑World Projects
JavaScript
JavaScript
Jan 7, 2026 · Fundamentals

How Guard Clauses and Early Returns Can Simplify Complex If‑Else Logic

This article explains why deeply nested if‑else statements hurt readability and maintainability, and demonstrates how using early return statements and guard‑clause patterns can flatten code, reduce cognitive load, and improve maintainability with clear examples in JavaScript.

Code RefactoringControl FlowEarly Return
0 likes · 5 min read
How Guard Clauses and Early Returns Can Simplify Complex If‑Else Logic
Code Mala Tang
Code Mala Tang
Jul 21, 2025 · Fundamentals

Why Python’s Loop‑Else Isn’t a Mistake: The Hidden Power of Else in for/while

Python’s else clause, often misunderstood as part of if‑else, actually executes only when a for or while loop completes without encountering a break, offering a concise way to handle search patterns, break detection, and post‑loop actions, but it can confuse developers unfamiliar with this subtle feature.

Code PatternsControl Flowfor loop
0 likes · 7 min read
Why Python’s Loop‑Else Isn’t a Mistake: The Hidden Power of Else in for/while
Python Programming Learning Circle
Python Programming Learning Circle
Jun 6, 2025 · Fundamentals

Master Python Basics: Variables, Data Types, Operators, and Control Flow

This guide introduces Python's core fundamentals, covering its concise syntax, commenting styles, dynamic variables, primary data types, input/output functions, a full range of operators, control‑flow statements, and essential data structures such as lists, tuples, dictionaries and sets, complete with examples and visual illustrations.

Control FlowData StructuresPython
0 likes · 9 min read
Master Python Basics: Variables, Data Types, Operators, and Control Flow
ITPUB
ITPUB
May 19, 2025 · Fundamentals

Why Developers Prefer if…else Over switch: Pros, Cons, and Performance

The article examines why many programmers favor if...else over switch statements, outlining switch's intended clarity, its limitations such as lack of range support and fall‑through pitfalls, performance considerations across languages, and scenarios where each construct shines.

Control FlowJavacoding best practices
0 likes · 8 min read
Why Developers Prefer if…else Over switch: Pros, Cons, and Performance
Python Programming Learning Circle
Python Programming Learning Circle
Apr 23, 2025 · Fundamentals

10 Classic Python Operations: Variables, Type Conversion, Strings, Lists, Loops, Conditionals, Functions, Exceptions, File I/O, and Modules

This article introduces ten essential Python techniques—including variable assignment and swapping, data type conversion, string manipulation, list handling, loop constructs, conditional statements, function definition, exception handling, file operations, and module imports—providing clear explanations and code examples to help beginners strengthen their programming foundation.

Control FlowData Typesfile I/O
0 likes · 10 min read
10 Classic Python Operations: Variables, Type Conversion, Strings, Lists, Loops, Conditionals, Functions, Exceptions, File I/O, and Modules
Cognitive Technology Team
Cognitive Technology Team
Apr 15, 2025 · Fundamentals

Understanding Labeled Breaks in Java

This article explains Java's labeled break statement, showing its syntax, a practical example with code, discusses its potential as a code smell, outlines appropriate use cases, and offers guidance on when to prefer refactoring for clearer control flow.

Control FlowJavabest practices
0 likes · 6 min read
Understanding Labeled Breaks in Java
Test Development Learning Exchange
Test Development Learning Exchange
Feb 7, 2025 · Fundamentals

Python Basics: Print, Variables, Data Types, Control Flow, Functions, and More

This comprehensive tutorial introduces Python fundamentals, covering print statements, variable definition and assignment, data type conversion, conditional and loop structures, function creation and invocation, input handling, comments, indentation rules, program exit methods, operators, slicing, collections, file I/O, exception handling, and module imports.

Control FlowData TypesPython
0 likes · 33 min read
Python Basics: Print, Variables, Data Types, Control Flow, Functions, and More
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2024 · Fundamentals

Master Python Control Flow: If, For, While Explained with Real Examples

This guide walks beginners through Python's control flow structures—if statements, for loops, and while loops—explaining their syntax, demonstrating multiple conditional checks, iteration over sequences, and combined usage with clear code examples that illustrate filtering, accumulation, and prime number detection.

Control Flowfor loopif statement
0 likes · 4 min read
Master Python Control Flow: If, For, While Explained with Real Examples
Liangxu Linux
Liangxu Linux
Jun 17, 2024 · Frontend Development

JavaScript Control Flow Essentials: Loops, Conditionals, and Hidden Password Tricks

This article showcases practical JavaScript snippets—including a 40‑iteration for‑loop, various if‑statement patterns, hidden password field tricks, complex else chains, while‑loop limits, and odd/even detection—illustrated with screenshots and commentary to help developers understand control flow and coding style nuances.

Code ExamplesControl FlowJavaScript
0 likes · 4 min read
JavaScript Control Flow Essentials: Loops, Conditionals, and Hidden Password Tricks
Python Programming Learning Circle
Python Programming Learning Circle
Mar 9, 2024 · Fundamentals

Python Basics: Comments, Indentation, Variables, Data Types, Operators, Strings, Lists, Conditionals, Loops, and Functions

This comprehensive tutorial introduces Python fundamentals, covering comments, indentation, variable naming rules, core data types, type conversion, arithmetic and comparison operators, string manipulation, list operations, conditional statements, loop constructs, and custom function definitions with clear examples and code snippets.

Control FlowData TypesPython
0 likes · 21 min read
Python Basics: Comments, Indentation, Variables, Data Types, Operators, Strings, Lists, Conditionals, Loops, and Functions
Python Programming Learning Circle
Python Programming Learning Circle
Sep 1, 2023 · Fundamentals

Python Basics: Variables, Data Types, Control Flow, Functions, and Common Operations

This article provides a comprehensive introduction to Python fundamentals, covering language features, variable handling, data types such as numbers, strings, lists, tuples, dictionaries, as well as control structures, loops, functions, exception handling, file I/O, and time processing with practical code examples.

Control FlowData TypesVariables
0 likes · 15 min read
Python Basics: Variables, Data Types, Control Flow, Functions, and Common Operations
Python Programming Learning Circle
Python Programming Learning Circle
Jul 3, 2023 · Fundamentals

Python Basics: Hello World, Print Function, Operators, Input/Output, Data Types, Control Flow, and Simple Exercises

This tutorial introduces Python fundamentals, covering hello‑world output, the print function, arithmetic and logical operators, user input handling, string and list operations, tuples, dictionaries, conditional statements, ternary expressions, simple authentication, number‑guessing games, score classification, and while‑loop examples with complete code snippets.

Code ExamplesControl FlowData Types
0 likes · 12 min read
Python Basics: Hello World, Print Function, Operators, Input/Output, Data Types, Control Flow, and Simple Exercises
AI Cyberspace
AI Cyberspace
Mar 5, 2023 · Fundamentals

Master C Operators and Control Flow: A Complete Guide

This article explains C language operators—including arithmetic, assignment, increment/decrement, comparison, logical, bitwise, comma, and ternary operators—covers operator precedence and associativity, and provides detailed examples of conditional and loop statements such as if/else, switch, for, while, and do/while constructs.

CControl Flowfundamentals
0 likes · 17 min read
Master C Operators and Control Flow: A Complete Guide
AsiaInfo Technology: New Tech Exploration
AsiaInfo Technology: New Tech Exploration
Oct 31, 2022 · Industry Insights

How Do Process Mining Algorithms Compare? A Deep Dive into Control‑Flow Techniques

This article examines the rapid growth of process‑mining techniques, explains the core concepts and modeling languages, evaluates model quality criteria, and provides a detailed comparison of direct, heuristic, genetic, and log‑classification algorithms from the perspective of control‑flow analysis.

Control Flowalgorithm comparisonprocess discovery
0 likes · 31 min read
How Do Process Mining Algorithms Compare? A Deep Dive into Control‑Flow Techniques
Model Perspective
Model Perspective
May 28, 2022 · Fundamentals

Master Python Control Flow: If, Loops, and List Comprehensions Explained

Learn Python's fundamental control flow constructs—including if, if‑else, elif‑else, for and while loops, continue, break, range, and list comprehensions—through clear explanations and interactive code examples that demonstrate condition evaluation, iteration, and common patterns for managing program logic.

Control FlowLoopsPython
0 likes · 7 min read
Master Python Control Flow: If, Loops, and List Comprehensions Explained
ITPUB
ITPUB
May 26, 2022 · Operations

Master Shell Scripting: From Basics to Advanced Techniques

This comprehensive guide introduces shell programming fundamentals, demonstrates how to write, execute, and manage scripts, explains variables, strings, parameters, arithmetic, control structures, functions, arrays, and file inclusion, and provides practical code examples for Linux environments.

ArraysBashControl Flow
0 likes · 23 min read
Master Shell Scripting: From Basics to Advanced Techniques
Taobao Frontend Technology
Taobao Frontend Technology
Feb 18, 2022 · Fundamentals

Unlock JavaScript Performance: From AST to Control Flow Graphs Explained

This article explores how understanding and visualizing JavaScript’s control and data flow—through abstract syntax trees, data flow graphs, and control flow graphs—can guide effective code optimization, illustrated with hardware-inspired examples and practical Arduino code, while also introducing SSA and Node Sea concepts.

ASTCode OptimizationControl Flow
0 likes · 13 min read
Unlock JavaScript Performance: From AST to Control Flow Graphs Explained
macrozheng
macrozheng
Nov 4, 2021 · Fundamentals

Master Shell Scripting: From Basics to Advanced Control Structures

This tutorial walks Java developers through the fundamentals of Linux shell scripting, covering how to create and run scripts, check and set the default shell, manage permissions, define and manipulate variables, and implement flow‑control constructs such as if/else, case, for, and while loops with practical code examples.

AutomationBashControl Flow
0 likes · 11 min read
Master Shell Scripting: From Basics to Advanced Control Structures
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2021 · Fundamentals

Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming

This tutorial introduces Python fundamentals, covering why to learn the language, variable assignment, conditional statements, loops, lists, dictionaries, iteration techniques, and core object‑oriented concepts such as classes, getters/setters, encapsulation, and inheritance, all illustrated with clear code examples.

Control FlowData StructuresInheritance
0 likes · 20 min read
Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming
Python Programming Learning Circle
Python Programming Learning Circle
Nov 14, 2020 · Fundamentals

Python Basics: Hello World, Data Types, Control Flow, and File I/O

This tutorial introduces Python fundamentals by demonstrating a Hello World program, explaining comments, covering numeric, string, tuple, list, set, and dictionary data types, and illustrating control flow constructs, loops, functions, command‑line arguments, and basic file read/write operations with clear code examples.

Control FlowPythonfile I/O
0 likes · 11 min read
Python Basics: Hello World, Data Types, Control Flow, and File I/O
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 28, 2020 · Fundamentals

Master Go Operators and Control Flow: A Practical Guide

This tutorial introduces Go's fundamental operators—including arithmetic, relational, logical, bitwise, and assignment types—and explains the language's control flow constructs such as if, switch, for loops, and goto, complete with clear code examples for each concept.

BackendControl FlowGo
0 likes · 8 min read
Master Go Operators and Control Flow: A Practical Guide
Laravel Tech Community
Laravel Tech Community
Aug 13, 2020 · Fundamentals

IDE Shortcut Techniques and Common Control‑Flow Statements for PHP/Java

This article introduces powerful IDE code‑completion shortcuts and demonstrates how to use fundamental control‑flow constructs such as if, switch, while, for loops, variable definitions, and common statements like return, print, try‑catch and throw in PHP/Java, providing code examples to boost development efficiency.

Control FlowIDE shortcutsJava
0 likes · 4 min read
IDE Shortcut Techniques and Common Control‑Flow Statements for PHP/Java
Ops Development Stories
Ops Development Stories
Dec 20, 2018 · Fundamentals

Master Python Statements: From Basics to Advanced Control Flow

This article provides a comprehensive guide to Python statements, covering assignment, function calls, control structures, loops, exception handling, and iteration techniques, complete with syntax rules, examples, and best practices for writing clean, efficient code.

Control FlowPythonTutorial
0 likes · 16 min read
Master Python Statements: From Basics to Advanced Control Flow
21CTO
21CTO
Jan 13, 2018 · Fundamentals

Master Python Basics: Variables, Control Flow, Loops, Lists & Dictionaries

This tutorial introduces Python fundamentals, covering variables, conditional statements, while and for loops, list operations, and dictionary usage, with clear explanations and code examples to help beginners quickly start programming in Python.

Control FlowDictionariesLists
0 likes · 10 min read
Master Python Basics: Variables, Control Flow, Loops, Lists & Dictionaries
21CTO
21CTO
Oct 13, 2017 · Fundamentals

Master Python Basics: Variables, Control Flow, Loops, Data Structures & OOP

This comprehensive tutorial walks you through Python fundamentals—from defining variables, booleans, strings, and numbers to using conditional statements, while and for loops, manipulating lists and dictionaries, and building classes with objects, encapsulation, and inheritance—providing clear code examples for each concept.

Control FlowData StructuresLoops
0 likes · 19 min read
Master Python Basics: Variables, Control Flow, Loops, Data Structures & OOP
MaGe Linux Operations
MaGe Linux Operations
May 6, 2017 · Fundamentals

Master Python Conditionals and Loops: A Visual Guide to If, While, For

This article explains Python's conditional and loop statements—including if, elif, else, while, for, break, continue, and pass—detailing their syntax, logical operators, execution flow, and visual diagrams, while also showing practical code examples and output illustrations to help beginners master control structures.

Control FlowLoopsPython
0 likes · 8 min read
Master Python Conditionals and Loops: A Visual Guide to If, While, For
MaGe Linux Operations
MaGe Linux Operations
Feb 23, 2017 · Fundamentals

Master Python’s while Loop: From Basics to Infinite Loops

This article explains Python’s while loop syntax, how conditions control execution, the use of continue, break, and else clauses, demonstrates infinite loops, and provides visual flowcharts and code examples to help readers grasp loop control structures effectively.

Control FlowLoopsPython
0 likes · 4 min read
Master Python’s while Loop: From Basics to Infinite Loops