Software engineering and personal development

Tag: argument

How to Handle Default Arguments Safely in Python Functions


Default arguments in Python functions provide convenient ways to assign values to parameters when no explicit arguments are provided. However, misusing mutable default arguments, such as lists or dictionaries, can introduce unexpected behavior and lead to bugs in your code. In this article, we’ll explore the potential pitfalls of misusing mutable default arguments and discuss best practices for handling defaults in a safer manner.

Continue reading

10 Underestimated Social Skills Many Programmers Forget About

 

Img source: LineshJose.Com

I recently had the privilege to publish my first guest post in SimpleProgrammer.com, which is a very good website filled with so many tips and suggestions for software developers. I wrote the article about some soft skills, a topic that I believe is underestimated, and wanted to remind myself and fellow software developers about their importance. Continue reading

© 2024 Fatos Morina

Theme by Anders NorenUp ↑