Tagged articles
26 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Oct 3, 2025 · Backend Development

Hidden Costs of Throwing Exceptions and the Result Pattern Solution

This article examines the hidden performance and maintenance drawbacks of using thrown exceptions for error handling in JavaScript/TypeScript, introduces the Result pattern as a type‑safe, predictable alternative, and demonstrates its implementation, testing, and appropriate use cases with practical code examples.

Error HandlingExceptionsTypeScript
0 likes · 12 min read
Hidden Costs of Throwing Exceptions and the Result Pattern Solution
Top Architect
Top Architect
Oct 10, 2024 · Backend Development

Avoiding Excessive Null Checks in Java: Using Assertions, Exceptions, and the Null Object Pattern

This article explains why overusing null‑check statements in Java leads to verbose code, distinguishes cases where null is a valid response versus an error, and offers practical techniques such as assertions, throwing exceptions, returning empty collections, and applying the Null Object pattern to write cleaner backend code.

ExceptionsNull Object patternassertions
0 likes · 9 min read
Avoiding Excessive Null Checks in Java: Using Assertions, Exceptions, and the Null Object Pattern
Test Development Learning Exchange
Test Development Learning Exchange
Sep 9, 2024 · Fundamentals

Common Built-in Classes in Python: Numbers, Sequences, Mappings, Sets, Files, Others, Exceptions, Special Methods, Iterators, and Reflection

This article introduces Python's most frequently used built-in classes—including numeric, sequence, mapping, set, file, miscellaneous, exception, special method, iterator, and reflection types—explaining their purposes and providing clear code examples that demonstrate how to create, inspect, and manipulate each class.

ExceptionsReflectionbuilt-in classes
0 likes · 8 min read
Common Built-in Classes in Python: Numbers, Sequences, Mappings, Sets, Files, Others, Exceptions, Special Methods, Iterators, and Reflection
php Courses
php Courses
Mar 14, 2024 · Backend Development

Comprehensive Guide to Common PHP Errors and Their Solutions

This comprehensive guide explains the ten most common PHP errors—including ParseError, DivisionByZeroError, TypeError, and UnexpectedValueException—detailing their causes, prevention strategies, and step‑by‑step remediation techniques, while also highlighting best practices and tools such as Zipy for proactive error monitoring.

Error HandlingExceptionsdebugging
0 likes · 22 min read
Comprehensive Guide to Common PHP Errors and Their Solutions
Python Programming Learning Circle
Python Programming Learning Circle
Jan 2, 2024 · Fundamentals

Common Bad Practices in Python and How to Avoid Them

This article highlights several typical Python pitfalls—including mutable default arguments, improper file handling, catching overly broad exceptions, misunderstanding the for‑else construct, and inefficient dictionary iteration—and provides clearer, more reliable alternatives for each case.

Exceptionsbest practicescode quality
0 likes · 5 min read
Common Bad Practices in Python and How to Avoid Them
Selected Java Interview Questions
Selected Java Interview Questions
Jan 1, 2024 · Backend Development

Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Exceptions

This article provides an in‑depth overview of Java's BigDecimal class, covering its purpose for high‑precision arithmetic, frequently used constructors, essential methods for arithmetic and conversion, techniques for formatting numbers, handling of common exceptions, and includes practical code examples and a utility class for precise calculations.

ArithmeticBigDecimalExceptions
0 likes · 16 min read
Comprehensive Guide to Java BigDecimal: Overview, Constructors, Common Methods, Formatting, and Exceptions
Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2023 · Fundamentals

New Features and Improvements in Python 3.11

Python 3.11, the latest stable release, brings substantial performance gains of up to 60 %, richer error tracebacks, faster code execution via adaptive specialization, new async task‑group syntax, expanded type‑variable support, built‑in TOML parsing, zero‑cost exceptions, exception groups, and quicker interpreter startup, all detailed with examples and benchmarks.

AsyncExceptionsTOML
0 likes · 9 min read
New Features and Improvements in Python 3.11
Python Programming Learning Circle
Python Programming Learning Circle
Oct 26, 2022 · Fundamentals

New Features and Improvements in Python 3.11

Python 3.11, the latest official release, brings substantial performance gains, richer error tracebacks, enhanced async task syntax, expanded type‑hint support, built‑in TOML parsing, zero‑cost exceptions, exception groups, faster startup, and numerous other refinements that together make the language both quicker and more developer‑friendly.

AsyncExceptionsTOML
0 likes · 9 min read
New Features and Improvements in Python 3.11
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 24, 2021 · Fundamentals

Comprehensive Java Fundamentals and Interview Guide

This article provides a thorough overview of Java fundamentals for interview preparation, covering JVM/JRE/JDK relationships, bytecode advantages, language features, OOP concepts, exception handling, garbage collection, reference types, and common pitfalls, supplemented with code examples and practical tips to strengthen core Java knowledge.

ExceptionsJVMOOP
0 likes · 37 min read
Comprehensive Java Fundamentals and Interview Guide
Su San Talks Tech
Su San Talks Tech
Sep 7, 2021 · Fundamentals

Master Java Fundamentals: Essential Interview Topics and Core Concepts

This comprehensive guide covers Java platform basics, JVM/JRE/JDK relationships, bytecode advantages, new features since Java 8, core OOP principles, common interview questions, exception handling, garbage collection, reference types, and practical code examples to solidify your Java expertise.

ExceptionsJVMMemory Management
0 likes · 45 min read
Master Java Fundamentals: Essential Interview Topics and Core Concepts
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 1, 2021 · Fundamentals

Comprehensive Java Fundamentals Guide: JVM, JDK, OOP, Exceptions, Collections, and More

This article provides an extensive overview of Java fundamentals, covering the JVM/JRE/JDK relationship, bytecode and JIT compilation, core language features introduced in Java 8, basic syntax differences, data types, OOP principles, SOLID design, exception handling, reference types, and string manipulation classes.

CollectionsExceptionsJVM
0 likes · 34 min read
Comprehensive Java Fundamentals Guide: JVM, JDK, OOP, Exceptions, Collections, and More
Java High-Performance Architecture
Java High-Performance Architecture
Aug 25, 2021 · Backend Development

13 Essential Java Coding Practices to Boost Performance and Cleanliness

This article presents a comprehensive guide to writing more standardized Java code, covering topics such as avoiding "1=1" in MyBatis, iterating Map entrySet, pre‑sizing collections, using StringBuilder, preferring Set for contains checks, proper static initialization, removing unused variables, shielding utility constructors, eliminating redundant exception handling, using String.valueOf, avoiding BigDecimal(double), returning empty collections instead of null, safe equals usage, immutable enum fields, and correctly escaping regex in String.split, each illustrated with clear code examples.

ExceptionsMyBatiscoding standards
0 likes · 15 min read
13 Essential Java Coding Practices to Boost Performance and Cleanliness
Java Captain
Java Captain
Aug 1, 2021 · Backend Development

How to Write More Standardized Java Code

This article presents a comprehensive set of Java coding best‑practice guidelines—ranging from MyBatis query writing, efficient Map iteration, collection handling, StringBuilder usage, to proper enum design and exception handling—each illustrated with clear anti‑pattern and correct‑pattern code examples.

CollectionsExceptionsMyBatis
0 likes · 14 min read
How to Write More Standardized Java Code
FunTester
FunTester
Oct 20, 2020 · Frontend Development

Comprehensive Guide to Selenium WebDriver Exceptions and Their Handling

This article provides a comprehensive overview of the most common Selenium WebDriver exceptions, categorizes them into checked and unchecked types, details language‑specific variants for Java, C# and Python, and offers practical guidance on diagnosing and handling each exception during automated browser testing.

ExceptionsPythonSelenium
0 likes · 14 min read
Comprehensive Guide to Selenium WebDriver Exceptions and Their Handling
Sohu Tech Products
Sohu Tech Products
Sep 23, 2020 · Frontend Development

Understanding Errors and Exceptions in JavaScript

This article explains JavaScript error objects, their properties, common built‑in error types, how to create and throw custom errors, and demonstrates synchronous and asynchronous error handling techniques—including try/catch, generators, promises, timers, event listeners, and the onerror handler—complete with code examples.

Error HandlingExceptionsGenerators
0 likes · 15 min read
Understanding Errors and Exceptions in JavaScript
Programmer DD
Programmer DD
Jun 19, 2020 · Fundamentals

What Java Developers Can Learn from StackOverflow’s Top Questions

This article curates and explains several of StackOverflow’s most popular Java questions—covering branch prediction, password handling, exception handling, deterministic random strings, historic timezone quirks, an uncatchable Chuck Norris exception, and hash‑table choices—to help developers deepen their understanding of core Java concepts.

ExceptionsStackOverflowjava
0 likes · 10 min read
What Java Developers Can Learn from StackOverflow’s Top Questions
Programmer DD
Programmer DD
Mar 14, 2020 · Fundamentals

Top 7 Must‑Know Java Questions from StackOverflow and Their Answers

An English‑language roundup of the most popular Java questions on StackOverflow—covering branch prediction, password handling with char arrays, common exceptions, deterministic random strings, historic timezone quirks, the uncatchable ChuckNorrisException, and collection‑type choices—provides concise explanations and code snippets for each topic.

CollectionsExceptionsStackOverflow
0 likes · 9 min read
Top 7 Must‑Know Java Questions from StackOverflow and Their Answers
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 24, 2019 · Big Data

Common Apache Kafka Exceptions and Their Causes

This article lists frequent Apache Kafka exceptions such as UnknownTopicOrPartitionException, LEADER_NOT_AVAILABLE, NotLeaderForPartitionException, TimeoutException, RecordTooLargeException, and others, explaining each error message, typical reasons, and practical troubleshooting steps for producers and consumers.

Big DataConsumerError Handling
0 likes · 5 min read
Common Apache Kafka Exceptions and Their Causes
Java Captain
Java Captain
Nov 24, 2017 · Fundamentals

Illustrated Guide to Core Java Concepts

This article presents a series of annotated diagrams from the Program Creek Java tutorial that visually explain fundamental Java topics such as string immutability, the difference between equals() and hashCode(), exception hierarchy, collection framework, synchronization, aliasing, heap vs. stack memory, and the JVM runtime data areas.

Core ConceptsExceptionsJVM
0 likes · 3 min read
Illustrated Guide to Core Java Concepts
Java Captain
Java Captain
Sep 5, 2017 · Fundamentals

Java Fundamentals: Streams, Exceptions, Annotations, Class Loading, Keywords, Multithreading, Thread Pools, and Memory Model

This article provides a comprehensive overview of core Java concepts, including the hierarchy of I/O streams, checked and unchecked exceptions, built‑in and custom annotations, the class‑loader delegation model, important language keywords, multithreading techniques, thread‑pool implementations, and the Java memory model.

ExceptionsStreamsannotations
0 likes · 17 min read
Java Fundamentals: Streams, Exceptions, Annotations, Class Loading, Keywords, Multithreading, Thread Pools, and Memory Model
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2017 · Fundamentals

10 Common Python Mistakes Every Developer Should Avoid

This article reviews ten frequent Python programming errors—including mutable default arguments, class variable misuse, incorrect exception handling, variable scope pitfalls, list mutation during iteration, closure late binding, circular imports, naming conflicts, Python 2/3 differences, and improper use of del—providing clear explanations and practical solutions to help developers write more reliable code.

ExceptionsPythonVariables
0 likes · 14 min read
10 Common Python Mistakes Every Developer Should Avoid
MaGe Linux Operations
MaGe Linux Operations
Mar 2, 2017 · Fundamentals

What Changed in Python 3.0? Key Differences and Migration Tips

This article explains the major changes introduced in Python 3.0—including the new print() function, unified Unicode strings, altered division behavior, updated exception syntax, removal of xrange, revised literal formats, module renames, and data‑type updates—while offering guidance for migrating existing Python 2 code.

ExceptionsPython 3Unicode
0 likes · 10 min read
What Changed in Python 3.0? Key Differences and Migration Tips
Qunar Tech Salon
Qunar Tech Salon
Jun 9, 2015 · Fundamentals

Understanding Java Class Loading and the Delegation Model

This article explains how Java class loading works, describing the hierarchical delegation model, the three loading phases (loading, linking, initialization), common ClassLoader‑related exceptions, and practical tips for troubleshooting class‑loading issues.

Exceptionsclass loadingdelegation-model
0 likes · 8 min read
Understanding Java Class Loading and the Delegation Model