Thomas Nguyen
Thomas Nguyen's Blog

Thomas Nguyen's Blog

Follow
homeFront-endBack-endMicroservicesBuy me a coffee
Tag

clean code

#clean-code

More content

Read more stories on Hashnode


Articles with this tag

Javascript clean code: Handling too many arguments in a Function

Jan 18, 20232 min read

1. Problem Your function receives many arguments and it’s hard to remember the order or not clean to scale up. You may also have problems with...

Javascript clean code: Handling too many arguments in a Function

Javascript clean code: Avoid passing booleans to functions

Jan 18, 20232 min read

1. Problem Sometimes we’d like a function to behave differently in certain conditions. So a common approach is to pass a boolean parameter, also known...

Javascript clean code: Avoid passing booleans to functions