Open in app

Sign In

Write

Sign In

Mastodon
Yang Zhou
Yang Zhou

6.9K Followers

Home

Lists

About

Published in

TechToFreedom

·Pinned

9 Fabulous Python Tricks That Make Your Code More Elegant

Pythonic is a synonym for elegant — “Beautiful is better than ugly.” This is not only the first sentence of “The Zen of Python”, but also the creed for all Python developers. But how to distinguish between beautiful and ugly code? More importantly, how to write beautiful Python code? Talk is cheap. This article will demonstrate 9…

Python

5 min read

9 Fabulous Python Tricks That Make Your Code More Elegant
9 Fabulous Python Tricks That Make Your Code More Elegant
Python

5 min read


Published in

TechToFreedom

·Pinned

My First 10 Years of Programming

And how my life has been changed so much — As a curious boy armed with a new laptop and a passion for being the next Mark Zuckerberg, I started my university life and jumped into the vast realm of programming and technology in 2013. I can’t believe that there have been 10 years passed on already. These 10 years…

Technology

13 min read

My First 10 Years of Programming
My First 10 Years of Programming
Technology

13 min read


Published in

TechToFreedom

·Pinned

9 Python Built-In Decorators That Optimize Your Code Significantly

Do more by less: leverage the power of decorators — “Simple is better than complex.” The best Python feature that applies this philosophy from the “zen of Python” is the decorator. Decorators can help you write less and simpler code to implement complex logic and reuse it everywhere. More importantly, there are many awesome built-in Python decorators that make our…

Programming

7 min read

9 Python Built-In Decorators That Optimize Your Code Significantly
9 Python Built-In Decorators That Optimize Your Code Significantly
Programming

7 min read


Published in

Level Up Coding

·Aug 29

When Arts Meet Python: Artistic Drawing with Your Code

Programmers can be artists — Have you ever imagined doing artistic creation on your terminal with Python? I did. Because I believe that programming is not necessarily just for building software. It can also make my day. This article will help you explore the useless but artistic side of Python. The code examples are not…

Programming

5 min read

When Arts Meet Python: Artistic Drawing with Your Code
When Arts Meet Python: Artistic Drawing with Your Code
Programming

5 min read


Published in

TechToFreedom

·Aug 12

7 Uses of SymPy: Writing Python Code Like a Mathematician

A powerful algebra system for data scientists — Mathematic problems are inevitable for data scientists. It will be a headache if you try to implement everything from scratch. After all, leveraging powerful tools made by others is a significant skill every engineer should master. In Python, there are a few third-party modules for algebra. One of my favorites…

Programming

4 min read

7 Uses of SymPy: Writing Python Code Like a Mathematician
7 Uses of SymPy: Writing Python Code Like a Mathematician
Programming

4 min read


Published in

TechToFreedom

·Aug 4

5 Uses of Question Marks in JavaScript

A powerful symbol for web developers — Question mark, such a common character. There is nothing to talk about it in most cases. However, in JavaSrtipt, it’s the key for many syntax sugars. Let’s have a look and feel the elegance of JavaScript. 1. Nullish Coalescing Operator: Simplify Your JS Code with Two Question Marks The nullish coalescing operator, which is as simple as two question marks, can make…

Programming

3 min read

5 Uses of Question Marks in JavaScript
5 Uses of Question Marks in JavaScript
Programming

3 min read


Published in

JavaScript in Plain English

·Aug 2

9 JavaScript Tricks That Make Your Code Fantastic

The elegance of JavaScript goes beyond what you can imagine — JavaScript, with the original purpose of inventing it, was a simple language to add some functionalities to a website. Surprisingly, nowadays, it is everywhere and far more complex. As web applications are becoming more and more complicated, JavaScript is evolving so fast as well. It’s not as easy as the…

JavaScript

10 min read

9 JavaScript Tricks That Make Your Code Fantastic
9 JavaScript Tricks That Make Your Code Fantastic
JavaScript

10 min read


Published in

TechToFreedom

·May 10

10 Python Itertools To Make Your Code Neater, Cleaner, and Better

Implement the same thing with shorter code — The beauty of Python lies in its simplicity. Not only because Python’s syntax is elegant, but also due to it has many well-designed built-in modules that help us implement common functionalities efficiently. The itertools module, which is a good example, provides many powerful tools for us to manipulate Python iterables…

Programming

5 min read

10 Python Itertools To Make Your Code Neater, Cleaner, and Better
10 Python Itertools To Make Your Code Neater, Cleaner, and Better
Programming

5 min read


Published in

TechToFreedom

·Apr 13

9 Practical Examples of Using Regular Expressions in Python

Handling text like a guru — Whenever you meet problems with text manipulations, regular expressions (regex) are always your best friends. However, it’s hard and impossible to remember all the complex rules of them. Even merely reading the syntax is overwhelming. Therefore, the best way to learn regex is by learning practical examples of them. This…

Python

5 min read

9 Practical Examples of Using Regular Expressions in Python
9 Practical Examples of Using Regular Expressions in Python
Python

5 min read


Published in

TechToFreedom

·Mar 30

19 Sweet Python Syntax Sugar for Improving Your Coding Experience

Do more by less code — Making a function work is one thing. Implementing it with precise and elegant code is another. As the Zen of Python mentioned, “beautiful is better than ugly.” A good programming language like Python will always provide appropriate syntax sugar to help developers write elegant code easily. This article highlights 19…

Programming

11 min read

19 Sweet Python Syntax Sugar for Improving Your Coding Experience
19 Sweet Python Syntax Sugar for Improving Your Coding Experience
Programming

11 min read

Yang Zhou

Yang Zhou

6.9K Followers

Full-Stack Engineer | Top Writer | https://twitter.com/YangZhou1993

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams