Meet Travis - Your AI-Powered tutor

Defining Optional Parameters In Python Functions

 Python in Plain English

Parameters that default to certain values when not given Continue reading on Python in Plain English

Read more at Python in Plain English

Type Checking in Python

 Mouse Vs Python

Type checking or hinting is a newer feature of Python that was added in Python 3.5. Type hinting is also known as type annotation. Type hinting is adding special syntax to functions and variable decla...

Read more at Mouse Vs Python

Does Python Need Types?

 Python in Plain English

I’m a huge fan of Python. It’s by far the simplest general purpose language, that you can just pick up and start building amazing things with. But for the past year or so, I’ve been working on…

Read more at Python in Plain English

An argument for using Optional as input parameters

 Level Up Coding

This article may be the hardest I wrote so far here. Not because it is really technical nor because it required a lot of research prior, but because it is controversial and I had to be sure that the a...

Read more at Level Up Coding

Java Optional Is Not So Obvious

 Level Up Coding

Optional can save you from NullPointerException, but it can also bring overcomplexity in your code.

Read more at Level Up Coding

Defining Python Functions With Default and Optional Arguments

 Real Python

Defining your own functions is an essential skill for writing clean and effective code. In this video , you’ll explore the techniques you have available for defining Python functions that take optiona...

Read more at Real Python

12 Beginner Concepts About Type Hints To Improve Your Python Code

 Towards Data Science

Just like unit tests, type hints take developer time but pay off in the long run. Continue reading on Towards Data Science

Read more at Towards Data Science

Everything you have to Know about Type Hinting In Python

 Python in Plain English

Introduction Typing in Python works differently! Yes it is very different as right now Python supports Four Type Systems. First we have the Duck Typing approach, this is the oldest and the most known ...

Read more at Python in Plain English

Optionals are not Optional

 Better Programming

One of the hardest concepts for a programming language (or any language really) to tackle is that of the non-existence of an object. Swift uses the term nil to denote an absence of an object. On the…

Read more at Better Programming

Fundamentals of Type Hints in Python

 Python in Plain English

Part 1: Basics of type hints in Python. Photo by Arnold Antoo on Unsplash Welcome to this series of posts where we will explain from the basics to the most advanced use cases of type annotations in P...

Read more at Python in Plain English

Python Type-hints & Docstrings

 Towards Data Science

Learn Python type-hints, abstract syntax trees, Google-style docstrings, regular expressions, and automation via pre-commit Git hooks.

Read more at Towards Data Science

Python 3 - An Intro to Type Hinting

 Mouse Vs Python

Python 3.5 added an interesting new library called typing. This adds type hinting to Python. Type hinting is kind of declaring your functions arguments to have a certain type. However the type hinting...

Read more at Mouse Vs Python

Ultimate Guide to Using Type Hints in Python: 6 Cases

 Level Up Coding

Improve code readability and make it easier to understand Continue reading on Level Up Coding

Read more at Level Up Coding

Python’s Type Hinting: Friend, Foe, or Just a Headache?

 Better Programming

Type hinting’s popularity is increasing in the Python community. Where will this lead us? What can we do to use it right? Python: Does hinting using type hints truly help? Photo by Emily Morter on Un...

Read more at Better Programming

Introduction to Python Typing: The Importance of Type Hints in Python

 Python in Plain English

How to Improve Code Readability, Maintainability, and Reliability with the Python Typing Package Continue reading on Python in Plain English

Read more at Python in Plain English

A quick glance at Python’s Type hints

 Python in Plain English

Traditionally, python is a dynamically typed language and never had strong data type validation like Java or any other statically typed languages as a matter of fact. Note: For non-members, this…

Read more at Python in Plain English

Defining Optional Arguments and Moving Beyond "Beginner" Python | Real Python Podcast #100

 Real Python

How do you define Python functions that accept optional arguments or default values? Are you wondering how to go beyond being a beginner with Python? This week on the show, Christopher Trudeau is here...

Read more at Real Python

Swift Optionals: Beyond Basics

 Better Programming

You might also know how to use Optional binding (if let, guard let, and switch), Optional chaining, the nil-coalescing operator, and forcing unwrapping. This function evaluates the closure when the…

Read more at Better Programming

A Tip A Day — Python Tip #10: 2 reasons to use Python Type Hints | Dev Skrol

 Analytics Vidhya

Even before Python 3.6, developers provide preferred data type in comments. So that the same variable may not be used with different datatype in further enhancements.

Read more at Analytics Vidhya

Why Optional<> is a Monad and Why the f() Should I Care?

 Level Up Coding

Please, Use Optional< In the Intended Way! Continue reading on Level Up Coding

Read more at Level Up Coding

Optionals in Swift

 Level Up Coding

If you are interested in iOS Development or like to start using Swift then you need to know that you will meet some symbols that you may not meet before, marks like question mark ? or exclamation…

Read more at Level Up Coding

Python Type Hinting with Literal

 Towards Data Science

I’ll admit it: I wasn’t always a fan of typing.Literal , a form of creating literal types in Python. In fact, I not only undervalued literal types, but I completely ignored them, refusing to use them ...

Read more at Towards Data Science

Type Checking in Python

 Python in Plain English

How to make sure the correct data types are input into a python function or class.

Read more at Python in Plain English

Python: Why None is not Nothing

 Level Up Coding

This time let’s talk about the (in)famous None in Python, its various shapes and usage patterns. Let us try to find ways on how to get around without it.

Read more at Level Up Coding