Tagged articles
control flow
60 articles · Page 1 of 1
This article explains how a single JSON message can carry both business data and control signals, and why distinguishing them by purpose — not format — is critical for correct Data Flow Diagrams and choosing the right UML diagrams for control flow.
DFDUMLactivity diagram
0 likes · 9 min read

Jev introduces a decision-layer AI that outputs typed judgments (yes/no, category, severity) with probabilities instead of text, enabling developers to replace fragile semantic conditionals with reliable, low-latency control-flow primitives for routing, classification, and risk assessment.
AI Decision LayerAI product architectureJev
0 likes · 25 min read

This comprehensive tutorial covers Java fundamentals including program structure, variables, data types, operators, control flow, arrays, methods, object-oriented programming, exception handling, generics, collections, and practical examples for beginners.
DebuggingGenericsI/O
0 likes · 47 min read

This tutorial explains Java's jump statements—break, continue, and the labeled break—showing their syntax, how they affect single and nested loops, and best‑practice considerations through concrete code examples and execution results.
JavaLoopsbreak statement
0 likes · 9 min read

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.
Javacontrol flowif statement
0 likes · 16 min read

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.
LoopsPythoncontrol flow
0 likes · 3 min read

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.
PythonTutorialcontrol flow
0 likes · 3 min read

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.
Example CodePythoncontrol flow
0 likes · 4 min read

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.
PythonTutorialcontrol flow
0 likes · 4 min read

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.
Linuxarraysautomation
0 likes · 23 min read

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.
Best PracticesEarly ReturnJavaScript
0 likes · 5 min read

This hands-on tutorial walks absolute beginners through Python installation on Windows, essential tools (IDLE, PyCharm, Jupyter), core syntax including data types, conditionals, loops, and functions, plus three practical projects: data visualization with pandas and matplotlib, a tax calculator script, and batch Excel processing with openpyxl.
Beginner TutorialExcel processingPandas
0 likes · 9 min read

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

This article introduces Python control flow, explaining conditional statements (if, elif, else) and loop constructs (for, while) with clear syntax, practical examples, tips, and exercises to help readers master decision‑making and iteration in their programs.
Code Examplescontrol flowfor loop
0 likes · 7 min read

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.
Pythoncontrol flowdata structures
0 likes · 9 min read


ITPUBMay 19, 2025 · Fundamentals
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.
Coding Best PracticesJavacontrol flow
0 likes · 8 min read

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.
File I/Ocontrol flowdata types
0 likes · 10 min read

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.
Best PracticesJavacode smell
0 likes · 6 min read

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.
PythonTutorialcontrol flow
0 likes · 33 min read

The article explains the essence of process switching by comparing it to function calls, demonstrates how manipulating a function's return address can redirect execution to another function, and shows the underlying assembly and security implications of such control‑flow changes.
Function Callassemblybuffer overflow
0 likes · 7 min read

This article explains Python 3.10's match‑case control‑flow construct, covering its basic syntax, pattern‑matching capabilities, variable binding, OR patterns, guard clauses, and the generated bytecode, while comparing it to traditional if statements and noting portability considerations.
PythonPython 3.10bytecode
0 likes · 9 min read

This article provides a comprehensive guide to MySQL stored procedures, functions, custom functions, variables, control‑flow statements, cursors, and condition/handler definitions, illustrating creation, invocation, inspection, modification, and deletion with concrete SQL examples.
CursorStored FunctionStored Procedure
0 likes · 15 min read

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

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 ExamplesJavaScriptcontrol flow
0 likes · 4 min read

This tutorial introduces Python fundamentals, covering variables, data types, control flow statements, loops, lists, dictionaries, and object‑oriented programming concepts such as classes, inheritance, encapsulation, getters/setters, and demonstrates code examples for each topic.
OOPPythoncontrol flow
0 likes · 18 min read

This guide introduces Python fundamentals, covering variable declaration, common data types, conditional statements, loops, functions, list comprehensions, exception handling, classes, generators, decorators, and module imports, each illustrated with clear code examples for beginners.
Pythoncontrol flowfunctions
0 likes · 5 min read

This article explains the unconventional Go switch without an expression, shows how it works like ‘switch true’, compares it with equivalent if‑else logic, examines the generated assembly, and discusses when this compact pattern is useful for prefix‑based checks.
Gocode generationcontrol flow
0 likes · 11 min read

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.
Pythoncontrol flowdata types
0 likes · 21 min read

This article explains how Java's break and continue statements work, demonstrates why a simple break cannot exit nested loops, and shows how to use labeled break (and similarly labeled continue) to terminate all loops at once with clear code examples.
ContinueJavaLoops
0 likes · 4 min read

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 typesfunctions
0 likes · 15 min read

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

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.
C++control flowfundamentals
0 likes · 17 min read

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.
algorithm comparisoncontrol flowprocess discovery
0 likes · 31 min read

This article explains Python's conditional statements, covering the syntax and usage of single‑branch if, two‑branch if‑else, multi‑branch if‑elif‑else structures, the pass keyword, ternary expressions, nesting rules, and best‑practice tips for writing clear and efficient control‑flow code.
Pythonconditional statementscontrol flow
0 likes · 7 min read

This article explains Python's branching statements—including single‑branch if, two‑branch if‑else, multi‑branch if‑elif‑else, and nested structures—provides syntax, example code for number comparison, ID gender detection, BMI calculation, and discusses best practices in Python programming.
Pythonbranchingcontrol flow
0 likes · 7 min read

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.
LoopsPythoncontrol flow
0 likes · 7 min read


ITPUBMay 26, 2022 · Operations
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.
Linuxarraysbash
0 likes · 23 min read

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.
ASTJavaScriptSSA
0 likes · 13 min read

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

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.
InheritanceOOPPython
0 likes · 20 min read

This tutorial explains the fundamentals of programming with Python, covering what code is, how to use conditional statements, loops, variables, function definitions, module imports, and the basics of classes and objects, illustrated with clear examples and code snippets.
ClassesModulesPython
0 likes · 16 min read

This article explains Python's core control‑flow constructs—if‑elif‑else, while, and for loops—providing clear explanations, runnable code examples, and additional notes on boolean logic and string formatting for beginners and intermediate programmers.
Pythoncontrol flowfor loop
0 likes · 4 min read

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.
File I/OPythoncontrol flow
0 likes · 11 min read

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.
BackendGoTutorial
0 likes · 8 min read

With Selenium IDE 4, testers can overcome flaky UI tests caused by locator changes by recording multiple element selectors, and can also script complex scenarios using built‑in loop and conditional commands, making automated testing more robust and flexible.
Conditional LogicIDELoops
0 likes · 4 min read

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.
IDE shortcutsJavaPHP
0 likes · 4 min read

This article introduces Python's basic syntax, execution order, coding conventions, common operators, input/output handling, conditional statements, ternary expressions, and loop structures, and demonstrates a simple dice‑guessing game that highlights the use of break and continue.
LoopsPythoncontrol flow
0 likes · 11 min read

This tutorial introduces Python as a high‑level, readable language, explains why it’s popular for web, data science and AI, and walks through core fundamentals such as variables, if/elif/else statements, while and for loops, lists, dictionaries, and iteration with clear code examples.
DictionariesLoopsPython
0 likes · 9 min read

This article introduces Python's basic control flow constructs, including if/elif/else conditional statements, for and while loops with break/continue, iterator usage with Iterable and enumerate, and list comprehensions, providing example code snippets and their outputs for each concept.
LoopPythonconditional
0 likes · 4 min read

The article explains how loops enable repeated execution of code, describes common loop types such as while, do‑while, and for, outlines Scala’s loop control statements, and provides an example of an infinite while loop in Scala.
LoopsScalacontrol flow
0 likes · 3 min read

This article explains Scala's conditional constructs—including simple if statements, if‑else, if‑else‑if chains, and nested if‑else structures—by describing their syntax, providing clear code examples, and showing the corresponding command‑line compilation and execution results.
Scalaconditional statementscontrol flow
0 likes · 5 min read

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.
PythonTutorialcontrol flow
0 likes · 16 min read

This article explains the three basic program structures—sequential, selection, and loop—illustrates each with clear Java code examples, discusses syntax, common pitfalls, and provides practice exercises to help beginners master control flow in programming.
JavaLoop StructureSelection Structure
0 likes · 12 min read

This article explains how Python’s else clause works beyond simple if statements, showing its use with for, while, and try blocks, complete with clear code examples and guidance on when the else block is executed.
control flowelse clausefor-else
0 likes · 5 min read

This tutorial introduces Java fundamentals for beginners, covering the Hello World program, class and method syntax, variable declaration, arrays, expressions, control flow statements, and basic object‑oriented concepts with clear explanations and runnable code examples.
Javaarrayscontrol flow
0 likes · 9 min read


21CTOJan 13, 2018 · Fundamentals
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.
DictionariesLoopscontrol flow
0 likes · 10 min read


21CTOOct 13, 2017 · Fundamentals
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.
Loopscontrol flowdata structures
0 likes · 19 min read

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.
LoopsPythonconditional statements
0 likes · 8 min read

This tutorial introduces Python 3 fundamentals, covering source file encoding, reserved keywords, comment styles, variable assignment, data types, string operations, the ternary operator, conditional branches, and loop constructs with clear examples and visual illustrations.
Pythoncontrol flowprogramming fundamentals
0 likes · 5 min read

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.
LoopsPythoncontrol flow
0 likes · 4 min read
