Do one thingKeep arguments minimumDon’t use flag argumentsPrefer exceptions over error filtering Eight tips to Write Functions like a Senior DeveloperA Function is a small segment of a story telling about a systemhttps://dhruba-dahal.medium.com/eight-tips-to-write-functions-like-a-senior-developer-794140719351