Tagged articles

error handling

376 articles · Page 4 of 4
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.

Exceptionserror handlinggenerators
0 likes · 15 min read
Understanding Errors and Exceptions in JavaScript
Laravel Tech Community
Laravel Tech Community
Jul 26, 2020 · Backend Development

Understanding PHP's feof() Function and Safe EOF Handling

This article explains PHP's feof() function, detailing its purpose, required handle parameter, return values, and provides two practical code examples—one demonstrating a safe EOF check with timeout and another showing how to handle missing files without entering infinite loops.

File HandlingPHPbackend
0 likes · 2 min read
Understanding PHP's feof() Function and Safe EOF Handling
DevOps Engineer
DevOps Engineer
Jun 22, 2020 · Operations

Controlling Shell Script Failure Behavior in Jenkins Pipelines

This guide explains how to prevent Jenkins shell steps from aborting on errors by using the +e option, appending || true, or custom failure handling commands, and provides four concrete examples with test results to illustrate each method.

CI/CDJenkinserror handling
0 likes · 6 min read
Controlling Shell Script Failure Behavior in Jenkins Pipelines
Python Programming Learning Circle
Python Programming Learning Circle
May 26, 2020 · Fundamentals

Python Error Handling and Debugging Techniques

This article explains common Python runtime errors, demonstrates how to read traceback information, introduces the try‑except‑finally construct, and covers practical debugging methods such as print/assert statements and the built‑in pdb module with example code snippets.

Exceptionerror handlingtry-except
0 likes · 6 min read
Python Error Handling and Debugging Techniques
Java Architecture Diary
Java Architecture Diary
May 25, 2020 · Cloud Native

Mastering Global Exception Handling in Spring Cloud Gateway

This article explains why traditional @ControllerAdvice fails in Spring Cloud Gateway, introduces the built‑in ExceptionHandlingWebHandler and DefaultErrorWebExceptionHandler, and shows how to override them with a custom GlobalExceptionConfiguration for robust reactive error handling.

Spring BootSpring Cloud GatewayWebFlux
0 likes · 5 min read
Mastering Global Exception Handling in Spring Cloud Gateway
FunTester
FunTester
May 21, 2020 · Backend Development

Best Practices for Handling Java Exceptions: Common Mistakes and Correct Approaches

This article presents common error patterns and proper techniques for handling Java exceptions, illustrating why returning null, catching generic exceptions, swallowing Throwables, and misusing finally blocks are problematic, and provides clear, correct examples to improve exception management in Java applications.

Exception Handlingbest practiceserror handling
0 likes · 7 min read
Best Practices for Handling Java Exceptions: Common Mistakes and Correct Approaches
vivo Internet Technology
vivo Internet Technology
May 6, 2020 · Frontend Development

In‑Depth Implementation of JavaScript Promise: Prototype Methods, Error Handling, and Finally

This article walks through a step‑by‑step construction of a fully‑featured JavaScript Promise, detailing prototype methods, chainable then, reject handling, catch alias, and a standards‑compliant finally implementation, while illustrating each stage with code snippets, flowcharts, and animated visualizations.

AsynchronousPromiseerror handling
0 likes · 10 min read
In‑Depth Implementation of JavaScript Promise: Prototype Methods, Error Handling, and Finally
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 26, 2020 · Backend Development

Download All Versions of Alibaba’s Java Development Manual – New Guidelines Inside

This article introduces the highlights of the latest (Taishan) edition of Alibaba’s Java Development Manual, outlines new OOP, date‑time, collection, SQL, error‑code and security conventions, and provides a one‑click download link for the complete collection of all seven historic versions.

best practicescoding standardserror handling
0 likes · 10 min read
Download All Versions of Alibaba’s Java Development Manual – New Guidelines Inside
360 Tech Engineering
360 Tech Engineering
Apr 13, 2020 · Backend Development

Understanding Exception and Error Handling in Go

This article explains how Go handles exceptions and errors using defer, panic, and recover, compares it with try‑catch in other languages, demonstrates the built‑in error interface, custom error types, and provides multiple code examples and analyses of their output.

ExceptionGodefer
0 likes · 6 min read
Understanding Exception and Error Handling in Go
Sohu Tech Products
Sohu Tech Products
Mar 25, 2020 · Frontend Development

Progressive Refactoring of Vuex API Calls: From Separation of Concerns to Olive‑Shaped Interfaces and Response Normalization

This article walks through a multi‑stage refactoring of Vuex API calls for an IoT project, demonstrating how to separate concerns, create a concise olive‑shaped interface, implement custom isomorphic mappers, and normalize responses with three‑level error handling while keeping the codebase maintainable and scalable.

API RefactoringState ManagementVuex
0 likes · 16 min read
Progressive Refactoring of Vuex API Calls: From Separation of Concerns to Olive‑Shaped Interfaces and Response Normalization
360 Tech Engineering
360 Tech Engineering
Mar 16, 2020 · Frontend Development

Optimizing Vuex API Calls: Separation of Concerns, Olive‑Shaped Interfaces, and Response Normalization

This article walks through three progressive refactoring stages for Vuex‑based API calls—first separating concerns for maintainable code, then introducing a concise “olive‑shaped” interface with dynamic generation or proxy interception, and finally adding response normalization and three‑level error handling to produce robust, low‑maintenance frontend logic.

API RefactoringFrontend ArchitectureVuex
0 likes · 14 min read
Optimizing Vuex API Calls: Separation of Concerns, Olive‑Shaped Interfaces, and Response Normalization
dbaplus Community
dbaplus Community
Feb 22, 2020 · Databases

How to Perform Daily Maintenance on GaussDB T Clusters Without Pitfalls

This guide walks you through the essential daily maintenance tasks for GaussDB T clusters, covering ETCD startup, cluster health checks, host resource monitoring, tablespace usage, abnormal wait events, log inspection, and common error troubleshooting with concrete commands and SQL examples.

Cluster ManagementDatabase MaintenanceGaussDB
0 likes · 11 min read
How to Perform Daily Maintenance on GaussDB T Clusters Without Pitfalls
360 Quality & Efficiency
360 Quality & Efficiency
Feb 13, 2020 · Backend Development

Reliable Bash Shell Scripting Practices

This article presents a comprehensive set of best‑practice guidelines for writing reliable Bash shell scripts, covering shebang selection, quoting variables, function encapsulation, readonly constants, variable scope, error handling, debugging, path management, argument parsing with shift, signal trapping, and helpful tips to improve script robustness and maintainability.

Shell scriptingbashbest practices
0 likes · 9 min read
Reliable Bash Shell Scripting Practices
WecTeam
WecTeam
Dec 26, 2019 · Fundamentals

How to Build a Custom JSON Parser in JavaScript from Scratch

This article walks through creating a JSON parser in JavaScript, covering the JSON grammar, railroad and BNF diagrams, step‑by‑step implementation of object, array and value parsing, robust error handling, and suggestions for meaningful error messages.

JavaScriptParserSyntax
0 likes · 13 min read
How to Build a Custom JSON Parser in JavaScript from Scratch
Alibaba Cloud Native
Alibaba Cloud Native
Dec 25, 2019 · Backend Development

Master Go Panic/Recover, Thread Limits, and Error Handling – A Practical Guide

This article explores Go's panic/recover mechanism, identifies which runtime errors can be recovered, explains unrecoverable scenarios like thread exhaustion and map race, demonstrates best‑practice error handling with Go 1.13 features and popular error libraries, and offers concrete logging strategies for robust server development.

GOMAXPROCSGoconcurrency
0 likes · 34 min read
Master Go Panic/Recover, Thread Limits, and Error Handling – A Practical Guide
37 Interactive Technology Team
37 Interactive Technology Team
Dec 13, 2019 · Game Development

Guide to Apple In-App Purchase Integration for Game SDK Development

This guide walks game SDK developers through Apple’s In‑App Purchase integration, detailing product types, the three‑step purchase flow, receipt acquisition and server‑side verification, order binding and retry mechanisms, duplicate handling, subscription restoration, and comprehensive error handling to ensure reliable revenue management.

Apple IAPGame DevelopmentIn-App Purchase
0 likes · 10 min read
Guide to Apple In-App Purchase Integration for Game SDK Development
WecTeam
WecTeam
Dec 13, 2019 · Frontend Development

How to Capture, Diagnose, and Fix Script Errors in Front‑End Projects

This article explains why script errors appear in front‑end pages, describes methods such as enabling CORS, using try‑catch wrappers, handling JSONP and AJAX failures, and outlines logging, statistical analysis, and monitoring techniques to locate and resolve badjs issues effectively.

CORSbadjserror handling
0 likes · 21 min read
How to Capture, Diagnose, and Fix Script Errors in Front‑End Projects
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 DataExceptionsKafka
0 likes · 5 min read
Common Apache Kafka Exceptions and Their Causes
System Architect Go
System Architect Go
Oct 18, 2019 · Backend Development

Error Handling in Go Before and After Go 1.13

This article explains Go's built‑in error interface, the traditional ways of creating and checking errors before Go 1.13, and the new errors.Unwrap, errors.Is, errors.As functions plus the %w verb in fmt.Errorf introduced in Go 1.13 for error wrapping and inspection.

Goaserror handling
0 likes · 5 min read
Error Handling in Go Before and After Go 1.13
Architects Research Society
Architects Research Society
Oct 16, 2019 · Backend Development

Deep Dive into Using Apache Kafka with Spring Boot: Error Handling, Message Conversion, and Transaction Support

This article explains how to integrate Apache Kafka with Spring Boot, covering error handling with SeekToCurrentErrorHandler, deserialization error handling, type‑inferred message conversion, multi‑listener routing, and transactional message processing, providing code examples and configuration details for each feature.

Apache KafkaMessage ConversionSpring Boot
0 likes · 10 min read
Deep Dive into Using Apache Kafka with Spring Boot: Error Handling, Message Conversion, and Transaction Support
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 15, 2019 · Cloud Computing

7 Tough Challenges of Designing OpenAPI for Cloud Services and How to Overcome Them

This article examines why robust API specifications are crucial for cloud services, outlines seven major challenges—from choosing design patterns and resource modeling to error handling, versioning, and ecosystem integration—and offers practical guidance for building consistent, reliable OpenAPI interfaces at scale.

API designOpenAPIRESTful
0 likes · 20 min read
7 Tough Challenges of Designing OpenAPI for Cloud Services and How to Overcome Them
FangDuoduo UEDC
FangDuoduo UEDC
Sep 24, 2019 · Product Management

Designing Effective Empty States for Mobile Apps

This article explains why empty (exception) states are crucial in UI design, categorizes six common types such as network errors, data consumption, load failures, no search results, permission issues, and features under construction, and offers practical examples and visual guidelines for each.

Empty StateUX designerror handling
0 likes · 6 min read
Designing Effective Empty States for Mobile Apps
System Architect Go
System Architect Go
Jul 29, 2019 · Backend Development

10 Common Go Mistakes That Can Sabotage Your Code

This article enumerates ten frequent Go programming errors—from unknown enum handling and benchmark mis‑optimizations to pointer misuse, slice initialization, context pitfalls, and error‑handling practices—explaining why they occur, showing reproducible code examples, and offering concrete fixes to write more reliable Go code.

Gobenchmarkcommon mistakes
0 likes · 14 min read
10 Common Go Mistakes That Can Sabotage Your Code
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2019 · Fundamentals

Master Python Exception Handling: From Basics to Best Practices

This article explains what errors and exceptions are in Python, how the try/except/finally constructs work, demonstrates various usage patterns—including catching specific or multiple exceptions, re‑raising, and using built‑in alternatives—and provides best‑practice guidelines for robust error handling.

Exception HandlingPythonbest practices
0 likes · 12 min read
Master Python Exception Handling: From Basics to Best Practices
360 Quality & Efficiency
360 Quality & Efficiency
Mar 13, 2019 · Fundamentals

Common Return Code Bugs in Function Testing and Their Solutions

The article examines two typical return‑code bugs encountered during white‑box testing—one where error paths mistakenly return a success code and another where callers check the wrong value—explaining their causes and offering concrete remediation guidelines to improve error handling.

Software testingbugerror handling
0 likes · 4 min read
Common Return Code Bugs in Function Testing and Their Solutions
Beike Product & Technology
Beike Product & Technology
Mar 7, 2019 · Fundamentals

Error Classification

This article discusses various types of JavaScript errors, including syntax errors, runtime errors, and resource loading errors, and explains how to handle them.

Web Developmenterror handlingprogramming
0 likes · 14 min read
Error Classification
Programmer DD
Programmer DD
Dec 31, 2018 · Backend Development

Essential Spring Cloud Stream Resources: From Basics to Advanced Failure Handling

This curated list compiles essential Spring Cloud Stream articles covering quick start, core concepts, consumer groups and partitions, common FAQs, and four detailed failure‑handling strategies, providing developers with a handy reference to master message‑driven microservices.

Spring Cloud Streambackend developmenterror handling
0 likes · 3 min read
Essential Spring Cloud Stream Resources: From Basics to Advanced Failure Handling
Programmer DD
Programmer DD
Dec 18, 2018 · Backend Development

Simplify Message Failure Handling with RabbitMQ DLQ in Spring Cloud Stream

This tutorial demonstrates how to use RabbitMQ's dead‑letter queue (DLQ) with Spring Cloud Stream to automatically capture failed messages, configure retry and DLQ settings, and later reprocess those messages through simple console operations, providing a complete error‑handling workflow for backend services.

Message RetrySpring Cloud Streamerror handling
0 likes · 8 min read
Simplify Message Failure Handling with RabbitMQ DLQ in Spring Cloud Stream
21CTO
21CTO
Nov 30, 2018 · Fundamentals

Go 2.0 Is Coming: Inside the New Proposal Evaluation Process

After five years of dormancy, Go 2.0 is finally arriving, and the Go team has unveiled a community‑driven proposal evaluation process that outlines how selected language and library changes—such as generics, error handling, Unicode identifiers, and binary literals—will be reviewed, implemented, and potentially released.

Go 2error handlinggenerics
0 likes · 9 min read
Go 2.0 Is Coming: Inside the New Proposal Evaluation Process
MaGe Linux Operations
MaGe Linux Operations
Oct 30, 2018 · Databases

Top 10 MySQL Error Cases and How to Fix Them

This article presents ten classic MySQL error scenarios—from connection limits and replication conflicts to permission issues and character‑set problems—explaining their root causes, diagnostic commands, and step‑by‑step solutions to help beginners and DBAs troubleshoot efficiently.

Database TroubleshootingMySQLSQL
0 likes · 16 min read
Top 10 MySQL Error Cases and How to Fix Them
Programmer DD
Programmer DD
Oct 25, 2018 · Backend Development

How to Create a Custom RestTemplate ResponseErrorHandler in Spring

This tutorial explains how to implement a custom ResponseErrorHandler for Spring's RestTemplate, inject it via RestTemplateBuilder, and test it with a mock server to gracefully convert HTTP errors into meaningful application exceptions.

backenderror handlingjava
0 likes · 5 min read
How to Create a Custom RestTemplate ResponseErrorHandler in Spring
UC Tech Team
UC Tech Team
Oct 24, 2018 · Frontend Development

React v16.6.0 Release: New Features such as React.memo, React.lazy, Context API Enhancements, Error Boundaries, and StrictMode Updates

On October 23, React 16.6.0 was released, introducing React.memo for function components, React.lazy with Suspense for code‑splitting, a simpler static contextType API, new error‑boundary methods, and deprecations in StrictMode, along with installation instructions and a detailed changelog.

FrontendJavaScriptReAct
0 likes · 7 min read
React v16.6.0 Release: New Features such as React.memo, React.lazy, Context API Enhancements, Error Boundaries, and StrictMode Updates
21CTO
21CTO
Sep 21, 2018 · Frontend Development

Mastering React’s New Lifecycle Methods: A Complete Guide

This article explains how React 16 introduced new lifecycle methods, phased component lifecycles, deprecation of old methods with UNSAFE_ prefixes, error handling, and provides practical examples and best‑practice recommendations for building robust React components.

ComponentLifecycleerror handling
0 likes · 10 min read
Mastering React’s New Lifecycle Methods: A Complete Guide
Java Captain
Java Captain
Sep 21, 2018 · Backend Development

Common Mistakes in API Design and the Benefits of a Unified ResultBean in Java

The article outlines frequent pitfalls in Java API design—such as inconsistent return formats, neglecting error cases, irrelevant or overly complex parameters, and missing essential response data—and advocates using a standardized ResultBean to improve readability, AOP integration, and automated testing.

API designResultBeancoding standards
0 likes · 4 min read
Common Mistakes in API Design and the Benefits of a Unified ResultBean in Java
Architecture Digest
Architecture Digest
Mar 12, 2018 · Frontend Development

Top 10 Most Common JavaScript Errors and How to Prevent Them

This article analyzes the ten most frequent JavaScript errors identified from over a thousand projects, explains why each occurs, and offers practical code examples and preventive techniques to help developers avoid these common pitfalls.

DebuggingJavaScriptWeb Development
0 likes · 12 min read
Top 10 Most Common JavaScript Errors and How to Prevent Them
Architecture Digest
Architecture Digest
Jan 6, 2018 · Backend Development

Comprehensive Guide to Building Web Applications with Koa

This tutorial walks you through setting up a Node.js environment, installing Koa, and progressively building a web application by covering basic HTTP services, context handling, response types, routing, middleware, error handling, cookies, form processing, and file uploads with clear code examples.

KoaMiddlewareNode.js
0 likes · 19 min read
Comprehensive Guide to Building Web Applications with Koa
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 5, 2017 · Backend Development

Mastering JavaScript Error Objects: Clean Error Handling and Reporting

This article explains how to leverage JavaScript's built‑in Error object and custom error classes to separate normal output from exceptions, improve readability, enable unified handling, and automatically report issues, offering practical code examples for both front‑end and Node.js back‑end development.

Exception reportingNode.jsTypeScript
0 likes · 7 min read
Mastering JavaScript Error Objects: Clean Error Handling and Reporting
ITPUB
ITPUB
Nov 26, 2017 · Operations

How to Prevent Accidental Deletion in Linux Shell Scripts

This article explains common scenarios where Bash variables, spaces, or special characters cause unintended rm -rf deletions and provides practical safeguards such as parameter expansion checks, quoting, set options, logical short‑circuiting, and friendly prompts to avoid catastrophic data loss.

Shell scriptingbasherror handling
0 likes · 5 min read
How to Prevent Accidental Deletion in Linux Shell Scripts
21CTO
21CTO
Sep 20, 2017 · R&D Management

Turning Errors into Innovation: Anti‑Fragile Systems in Digital Business

In today's fast‑moving digital landscape, waiting for perfect products is impossible, so companies like Amazon and HARTING adopt anti‑fragile, error‑embracing approaches—using systematic root‑cause analysis, agile micro‑services, and tools like Chaos Monkey—to transform failures into rapid innovation and competitive advantage.

Anti-FragilityOperationsagile development
0 likes · 10 min read
Turning Errors into Innovation: Anti‑Fragile Systems in Digital Business
ITPUB
ITPUB
Aug 9, 2017 · Backend Development

8 Essential Shell Scripting Practices Every Developer Should Follow

This article shares eight hard‑earned recommendations for writing robust Bash scripts, covering shebang selection, debugging flags, static analysis, variable expansion, proper scoping, signal trapping, defensive coding, and knowing when to switch to a more suitable language.

DebuggingShell scriptingShellCheck
0 likes · 10 min read
8 Essential Shell Scripting Practices Every Developer Should Follow
MaGe Linux Operations
MaGe Linux Operations
Jul 21, 2017 · Operations

Master Linux Troubleshooting: 9 Common Errors and Their Fixes

This guide walks you through a systematic approach to diagnosing and resolving nine frequent Linux system problems—from read‑only file systems and argument‑list limits to inode exhaustion, space‑not‑released files, too many open files, and Apache startup failures—providing clear command‑line solutions for each.

Linuxerror handlingfsck
0 likes · 18 min read
Master Linux Troubleshooting: 9 Common Errors and Their Fixes
21CTO
21CTO
Jun 12, 2017 · Frontend Development

Mastering JavaScript Error Handling: From Try‑Catch to Global onerror

This article explains why proper JavaScript error handling is essential, compares syntax and runtime errors, demonstrates good and bad try‑catch patterns, shows how to use global onerror listeners, capture stack traces, and handle asynchronous exceptions to improve frontend code reliability.

AsynchronousDebuggingException
0 likes · 13 min read
Mastering JavaScript Error Handling: From Try‑Catch to Global onerror
MaGe Linux Operations
MaGe Linux Operations
Mar 12, 2017 · Backend Development

How to Build a Reliable Python Script for Memcached Testing and Error Handling

This article walks through the step‑by‑step process of creating a Python script to test Memcached servers, covering installation of python‑memcached and umemcached, retrieving server stats, handling connection errors with try‑except, logging failures, and refining the script into a reliable monitoring tool.

Scripterror handlingumemcached
0 likes · 5 min read
How to Build a Reliable Python Script for Memcached Testing and Error Handling
ITPUB
ITPUB
Mar 2, 2017 · Frontend Development

Build a Lightweight JavaScript Error Tracker for Small Web Projects

Learn how to create a simple, custom JavaScript error‑tracking system that logs client‑side exceptions to a server, stores them in a database, and notifies users, offering a low‑cost alternative to heavyweight services for small web projects.

Custom TrackerJavaScriptWeb Development
0 likes · 5 min read
Build a Lightweight JavaScript Error Tracker for Small Web Projects
Taobao Frontend Technology
Taobao Frontend Technology
Nov 10, 2016 · Frontend Development

How to Isolate Null Pointer Errors in Frontend JavaScript: Strategies & Tools

After launch, frontend apps often face API failures, missing data, and unexpected behavior that cause JavaScript null‑pointer errors and page crashes; this article explores practical solutions—including safe getters, async schema validation, Babel compile‑time transforms, and static type checking—to isolate and prevent such issues.

Type Checkingerror handlingnull pointer
0 likes · 8 min read
How to Isolate Null Pointer Errors in Frontend JavaScript: Strategies & Tools
Node Underground
Node Underground
Oct 17, 2016 · Backend Development

How Promises Change Post‑Mortem Debugging in Node.js Servers

This article explains how using JavaScript Promises in a Node.js HTTP server affects error handling, crash behavior, and core‑dump generation, contrasting a traditional callback server with a Promise‑based one and offering practical debugging options for post‑mortem analysis.

Node.jsPost-mortem debuggingerror handling
0 likes · 6 min read
How Promises Change Post‑Mortem Debugging in Node.js Servers
Architecture Digest
Architecture Digest
Sep 2, 2016 · Fundamentals

Programming Philosophy: Writing Elegant, Modular, Readable, and Robust Code

The article presents a comprehensive programming philosophy that emphasizes repeatedly refining code, writing elegant, modular, readable, and simple programs, handling errors and null pointers robustly, and avoiding over‑engineering, offering practical guidelines applicable to any software development language.

Null SafetySoftware Engineeringerror handling
0 likes · 41 min read
Programming Philosophy: Writing Elegant, Modular, Readable, and Robust Code
Node Underground
Node Underground
Aug 30, 2016 · Backend Development

Avoid Common Node.js Pitfalls: DecodeURIComponent, Promises, and HTTP Errors

This article shares real‑world Node.js pitfalls—from unsafe decodeURIComponent usage and hidden Promise errors to unhandled HTTP request failures—explaining why they occur and providing practical code‑level solutions such as try‑catch wrappers and proper error event handling to keep applications stable.

HTTPJavaScriptNode.js
0 likes · 4 min read
Avoid Common Node.js Pitfalls: DecodeURIComponent, Promises, and HTTP Errors
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 5, 2016 · Frontend Development

Mastering JavaScript Promises: Common Pitfalls and Best Practices

This article explains the fundamentals of JavaScript Promises, illustrates typical mistakes such as callback pyramids and missing returns, and demonstrates proper usage of chaining, Promise.all, resolve variations, error handling with catch, and state propagation to write clean, maintainable asynchronous code.

AsynchronousCodingJavaScript
0 likes · 23 min read
Mastering JavaScript Promises: Common Pitfalls and Best Practices
ITPUB
ITPUB
Apr 25, 2016 · Databases

Common MySQL Errors and How to Fix Them: A Practical Guide

This guide lists frequent MySQL error messages, explains their underlying causes, and provides step‑by‑step solutions—including configuration tweaks, permission adjustments, and server‑side fixes—to help developers quickly resolve database connectivity and query issues.

Database TroubleshootingMySQLMySQL configuration
0 likes · 25 min read
Common MySQL Errors and How to Fix Them: A Practical Guide
ITPUB
ITPUB
Apr 22, 2016 · Databases

Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive

This article explains how the Oracle oerr utility works as a shell script, shows how it maps facilities to components, locates the appropriate message files, and demonstrates using sed and awk to extract detailed error descriptions, causes, and actions for any ORA code.

DatabasesOracleSQL
0 likes · 7 min read
Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive
Aotu Lab
Aotu Lab
Apr 15, 2016 · Frontend Development

Master Clean JavaScript: Coding Style, Variables, Error Handling, and Design Patterns

This article provides a comprehensive guide to writing maintainable JavaScript, covering coding conventions, variable best practices, error handling techniques, object creation methods, prototype and module patterns, and practical examples to help developers build clean, modular, and loosely‑coupled code.

Design PatternsJavaScriptObject Creation
0 likes · 16 min read
Master Clean JavaScript: Coding Style, Variables, Error Handling, and Design Patterns
High Availability Architecture
High Availability Architecture
Mar 30, 2016 · Backend Development

Lessons Learned from Building Teamwork Desk Services with Go

This article shares practical lessons and common pitfalls encountered while developing numerous Go‑based microservices for Teamwork Desk, covering topics such as framework choices, panic handling, request body reuse, SQL handling, pointer usage, naked returns, variable shadowing, concurrent map access, and vendoring best practices.

backendbest-practicesconcurrency
0 likes · 15 min read
Lessons Learned from Building Teamwork Desk Services with Go
21CTO
21CTO
Feb 8, 2016 · Fundamentals

Master Defensive Programming in PHP: Prevent Errors Before They Happen

This article explains defensive programming concepts for PHP developers, illustrating why anticipating failures, never trusting user input, avoiding assumptions, maintaining narrow focus, and keeping consistent syntax can dramatically reduce bugs and improve code reliability.

Input ValidationPHPcoding best practices
0 likes · 8 min read
Master Defensive Programming in PHP: Prevent Errors Before They Happen
Qunar Tech Salon
Qunar Tech Salon
Dec 23, 2015 · Fundamentals

Writing Impervious Code: Proper Use of If‑Else, Error Handling, Null Safety, and Avoiding Over‑Engineering

The article explains how to write robust, error‑free code by always using two‑branch if statements, handling return values and exceptions correctly, avoiding null‑pointer pitfalls, and steering clear of over‑engineering through practical examples and clear best‑practice guidelines.

Null SafetySoftware Engineeringbest practices
0 likes · 21 min read
Writing Impervious Code: Proper Use of If‑Else, Error Handling, Null Safety, and Avoiding Over‑Engineering
21CTO
21CTO
Dec 14, 2015 · Fundamentals

How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety

This article explores practical programming philosophies for writing robust, maintainable code by using exhaustive two‑branch if statements, proper error handling, disciplined null‑pointer management, and avoiding over‑engineering, offering concrete examples and guidelines for Java and other languages.

Null SafetySoftware Engineeringbest practices
0 likes · 21 min read
How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety
ITPUB
ITPUB
Nov 13, 2015 · Backend Development

Eliminate Code Segregation: Writing Cleaner, More Elegant PHP

This article shows how to transform fragmented PHP snippets—such as disjointed loops, scattered timing code, and split error‑code definitions—into cohesive, readable structures using for‑loops, functional helpers, shutdown callbacks, and modern constant arrays, improving both aesthetics and maintainability.

Code stylePHPbackend
0 likes · 5 min read
Eliminate Code Segregation: Writing Cleaner, More Elegant PHP
21CTO
21CTO
Nov 1, 2015 · Product Management

What Makes an Error Dialog Truly Helpful? Lessons from Apple and Windows

This article examines why many error dialogs frustrate users, outlines Apple’s human‑interface guidelines for clear notifications, critiques real‑world examples from Windows Phone, Google Chrome and Twitter, and distills three essential principles for designing useful, user‑friendly error messages.

UI designdialog guidelineserror handling
0 likes · 9 min read
What Makes an Error Dialog Truly Helpful? Lessons from Apple and Windows
JD.com Experience Design Center
JD.com Experience Design Center
Jun 3, 2015 · Frontend Development

Creative 404 Error Page Designs: Turning a Boring Error into an Engaging Experience

This article explores the evolution of the 404 error page from a simple "file not found" notice to a variety of creative designs—including textual art, stylized graphics, storytelling illustrations, humorous cartoons, interactive games, and dynamic redirects—aimed at improving user experience and engagement.

404 pageFrontenderror handling
0 likes · 4 min read
Creative 404 Error Page Designs: Turning a Boring Error into an Engaging Experience