How To Find the Stinky Parts of Your Code: Code Smell 248 – Unreliable Copy
2024-4-22 08:8:36 Author: hackernoon.com(查看原文) 阅读量:1 收藏

Read on Terminal Reader

Open TLDRtldt arrow

Too Long; Didn't Read

The article emphasizes the need to verify file copies to avoid silent modifications and adhere to software principles. It discusses problems like Least Surprise and Fail Fast Principle violations and offers solutions such as checking postconditions and using mature languages to ensure reliable file copy operations.

featured image - How To Find the Stinky Parts of Your Code: Code Smell 248 – Unreliable Copy

Maximiliano Contieri HackerNoon profile picture

Maximiliano Contieri

Maximiliano Contieri

@mcsee

I’m senior software engineer specialized in declarative designs and S.O.L.I.D. and Agile lover.

About @mcsee

LEARN MORE ABOUT @MCSEE'S
EXPERTISE AND PLACE ON THE INTERNET.

0-item

STORY’S CREDIBILITY

Guide

Guide

Walkthroughs, tutorials, guides, and tips. This story will teach you how to do something new or how to do something better.


文章来源: https://hackernoon.com/how-to-find-the-stinky-parts-of-your-code-code-smell-248-unreliable-copy?source=rss
如有侵权请联系:admin#unsafe.sh