10 Freelance Developer Guides Every Coder Must Read

There’s a new guy in town. He’s called freelancing and he’s out for no good. Freelancing platforms such as Upwork and Fiverr are out to disrupt the organization of the world’s talents. Both platforms grow double-digits year-over-year. The proportion of freelancers in the total population is on the rise. Soon, we may find ourselves in … Read more

How To Eliminate All The Whitespace From A String?

In this article, you’ll learn the ultimate answer to the following question: How To Eliminate All The Whitespace From A String—on Both Ends, and In-Between Words? Summary: Use the string methods join(), split(), strip(), rstrip(), lstrip() and or replace()—in specific combinations—to remove any whitespace in a given string. The simplest way to remove all whitespaces … Read more

Python Double Asterisk (**)

Summary: The double asterisk operator has the following uses: a**b – Exponentiation. def f(**kwargs) – Unpacking: Defining an arbitrary number of keyword arguments. f(**d) – Dictionary Unpacking. f(**d1,**d2) – Merging Dictionaries. While using a function in your program, you might be uncertain about the number of named arguments that have to be passed into the … Read more

Top 8 Freelance Developer Udemy Courses [No-BS Comparison]

Freelancing is the new mega trend. And there’s a good reason: more and more companies see the cost benefits of hiring outside expertise by the hour. Much like cloud computing revolutionized the server market, freelancing disrupts the talent market with a pay-as-you go model for businesses. The big benefits for freelance developers are convincing as … Read more

Freelance Developer Hourly Rate By Regions and Professions

What’s the hourly rate of a freelance developer? If you’re like me, you want to peek into the potential of a given profession before you commit years of your life to any profession like freelance developing. The average freelance developer worldwide earns $56 per hour with conservative estimates ranging as low as $31 and aggressive … Read more

The Mutable Default Argument In Python

Summary: Passing mutable objects as default arguments leads to unexpected outputs because Python initializes the default mutable object only once, not (as you may have expected) each time the function is called. To fix this, initialize the mutable default argument with the None keyword in the argument list and then initialize it within the function. … Read more

[Formula] How Much to Charge for a Project? For Freelance Developers & Clients

Problem: How to estimate the price of a given code project as a freelancer and as a client? Estimating the price of a freelance software project is a common problem for both freelance developers and clients. On freelancing platforms such as Upwork, clients must associate a realistic price to their freelance project. On freelancing platforms … Read more

Python Self — An Interactive Guide with Video

Many beginners who just start out with object-oriented programming in Python are confused about the purpose of the keyword “self”. Let’s resolve this confusion once and for all! The name self is, by convention, the name of the first argument of a Python class method. The variable self points to the concrete instance on which … Read more

Slice Notation – A Simple Illustrated Guide

Summary: Slicing is a Python concept to extract a subsequence from a string or list—that lies within a start and stop index range. There are two syntactical ways to define a slice. (1) The extended slice notation makes use of a colon : in string_name[start:stop:step]. (2) The slice() constructor defines the index range in string_name[slice(start:stop:step)]. … Read more

How To Pass a Variable By Reference In Python?

Summary: Variables are passed by object reference in Python. Therefore, mutable objects are passed by reference while immutable objects are passed by value in Python. To pass immutable objects by reference you can return and reassign the value to the variable, or pass it inside a dictionary/list, or create a class and use the self … Read more