Tag

exceptions

0 views collected around this technical thread.

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.

AssertionsJavaNull Object pattern
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.

built-in classesexceptionsreflection
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.

PHPbackend developmentdebugging
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.

Pythonbest 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.

ArithmeticBigDecimalJava
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.

asyncexceptionsperformance
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.

asyncexceptionsperformance
0 likes · 9 min read
New Features and Improvements in Python 3.11
Python Programming Learning Circle
Python Programming Learning Circle
Jun 4, 2022 · Fundamentals

Understanding Python's warnings Module: Types, Filters, and Usage

This article explains how Python's warnings module issues non‑exceptional alerts, describes built‑in warning categories, shows how to control warning output with filters and actions, and provides practical code examples and command‑line options for managing warnings effectively.

Filterdebuggingexceptions
0 likes · 11 min read
Understanding Python's warnings Module: Types, Filters, and Usage
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.

InterviewJVMJava
0 likes · 37 min read
Comprehensive Java Fundamentals and Interview Guide
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.

CollectionsJVMJava
0 likes · 34 min read
Comprehensive Java Fundamentals Guide: JVM, JDK, OOP, Exceptions, Collections, and More
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.

CollectionsJavaMyBatis
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.

C++JavaPython
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.

GeneratorsJavaScriptasync
0 likes · 15 min read
Understanding Errors and Exceptions in JavaScript
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.

CollectionsCore ConceptsJVM
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.

AnnotationsClass LoadingJava
0 likes · 17 min read
Java Fundamentals: Streams, Exceptions, Annotations, Class Loading, Keywords, Multithreading, Thread Pools, and Memory Model
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.

Class LoadingClassLoaderJVM
0 likes · 8 min read
Understanding Java Class Loading and the Delegation Model