Software Engineering

Showing 37-39 of 39 results
EngineeringIcon ChevronTechnology

Buggy Python Code: The 10 Most Common Mistakes That Python Developers Make

by Martin Chikilian

Python's simple, easy-to-learn syntax can mislead Python developers -- especially those who are newer to the language -- into missing some of its subtleties and underestimating the power of the language. In this article, Toptal's Martin Chikilian presents a "top 10" list of somewhat subtle, harder-to-catch mistakes that can trip up even the most advanced Python developer.

12 minute readContinue Reading
EngineeringIcon ChevronLifestyle

In Search of the Elite Few – Finding and Hiring the Best Software Developers in the Industry

by Hyam Singer

Effective interviewing and hiring is as much of an art as it is a science. Nonetheless, approaches and methodologies do exist for evaluating the more subtle dimensions of a software developer’s skills and abilities. When used collectively, these techniques yield a highly effective screening process with a proven track record of success. That process is what this post is all about.

13 minute readContinue Reading
EngineeringIcon ChevronTechnology

An Introduction to Mocking in Python

by Naftuli Kay

More often than not, the software we write directly interacts with what we would label as "dirty" services. In layman's terms: services that are crucial to our application, but whose interactions have intended but undesired side-effects—that is, undesired in the context of an autonomous test run. For example: perhaps we're writing a social app and want to test out our new 'Post to Facebook feature', but don't want to _actually_ post to Facebook every time we run our test suite. The Python `unittest` library includes a subpackage named `unittest.mock`—or if you declare it as a dependency, simply `mock`—which provides extremely powerful and useful means by which to mock and stub out these undesired side-effects.

9 minute readContinue Reading

Join the Toptal® community.