Code Smell 247 - Javascript Function Naming
2024-4-16 20:19:10 Author: hackernoon.com(查看原文) 阅读量:0 收藏

Read on Terminal Reader

Read this story w/o Javascript

Open TLDRtldt arrow

Too Long; Didn't Read

Some names in immature languages break the [bijection] principle. Avoid ambiguous or bad names. Wrap with your functions. Use mature languages. Don't use *replace()* instead of *replaceAll()* in your code. Use *replaceFirst()* if you need to change only the first occurrence.

featured image - Code Smell 247 - Javascript Function Naming

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.

L O A D I N G
. . . comments & more!


About Author

Maximiliano Contieri HackerNoon profile picture

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

TOPICS

THIS ARTICLE WAS FEATURED IN...

RELATED STORIES


文章来源: https://hackernoon.com/code-smell-247-javascript-function-naming?source=rss
如有侵权请联系:admin#unsafe.sh