Fading Coder

One Final Commit for the Last Sprint

Handling Errors in Python with Try-Except Blocks

Understanding Exceptions in Python Exceptions occur when Python encounters unexpected conditions during program execution. These runtime erors disrupt the normal flow of a program and, if left unhandled, will cause the application to terminate abruptly with a traceback message. Exception handling al...

Refactoring Code: Choosing Functions Over Object-Oriented Structures in Go

Recently I needed to write a new business module that closely resembled one I had written two years ago in Go. I initially planned to adopt the old code, but it turned out to be too tightly coupled to its original context. Small modificasions wouldn’t cut it, so I decided to refactor the core logic....