Tag

static-typing

1 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Mar 21, 2025 · Fundamentals

How Python 3.12 Simplifies Generics with New PEP‑695 Syntax

Python 3.12 introduces PEP‑695, a new generic syntax that streamlines type annotations by allowing direct use of type parameters without extra imports, enabling clearer, more concise code for functions and classes, and aligning Python’s typing capabilities with modern programming languages.

PEP-695PythonType Annotations
0 likes · 6 min read
How Python 3.12 Simplifies Generics with New PEP‑695 Syntax
Python Programming Learning Circle
Python Programming Learning Circle
Feb 25, 2025 · Fundamentals

Understanding Python Type Hints: Benefits, Examples, and Best Practices

This article explains why adding type hints to Python code—despite increasing line count—enhances readability, enables early error detection with IDEs and static checkers, improves maintenance, and ultimately makes development more efficient and reliable.

Pythoncode qualityide
0 likes · 8 min read
Understanding Python Type Hints: Benefits, Examples, and Best Practices
Raymond Ops
Raymond Ops
Jan 17, 2025 · Fundamentals

Unlocking Go’s Type System: From Basic Types to Reflection

This article explains Go’s static type system, introduces custom types and interface types, demonstrates how empty interfaces work, and shows how the reflect package can inspect and modify values at runtime, including struct fields, using concrete code examples.

Gointerfacesprogramming
0 likes · 13 min read
Unlocking Go’s Type System: From Basic Types to Reflection
Architecture Development Notes
Architecture Development Notes
Aug 4, 2024 · Artificial Intelligence

Why Mojo Could Replace Python for High-Performance AI Development

Mojo, a new language from Modular, combines Python-like ease with C++-level speed through static typing, MLIR integration, and hardware acceleration, enabling AI developers to write high-performance models without learning complex low-level languages, and its open-source release promises rapid ecosystem growth.

AI DevelopmentMLIRMojo
0 likes · 6 min read
Why Mojo Could Replace Python for High-Performance AI Development
Code Mala Tang
Code Mala Tang
Jul 10, 2024 · Frontend Development

Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects

This comprehensive guide walks you through initializing a TypeScript project, explains core and advanced type features, shows how to integrate third‑party libraries, and provides real‑world examples for React and Node.js, while offering best‑practice tips to boost code quality and performance.

Best PracticesNode.jsReact
0 likes · 11 min read
Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects
Test Development Learning Exchange
Test Development Learning Exchange
Jun 3, 2024 · Fundamentals

Python Type Annotations: Concepts, Basic Usage, and Advanced Techniques

This article introduces Python type annotations, covering basic variable and function annotations, type aliases, custom classes, advanced constructs like Union and Optional, class and attribute annotations, protocols, type ignoring, and popular static‑type checking tools, illustrating how they improve code readability and reliability.

Best PracticesType Annotationsstatic-typing
0 likes · 6 min read
Python Type Annotations: Concepts, Basic Usage, and Advanced Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 7, 2023 · Frontend Development

Why Adopt TypeScript in Frontend Development: Business Motivation, Error Analysis, Cost‑Benefit, and Implementation Plan

This article explains the business reasons for introducing TypeScript in a B‑end frontend product, analyzes common runtime type errors, compares TypeScript with plain JavaScript, evaluates costs, risks and benefits, and outlines a practical implementation roadmap.

TypeScriptcode qualitycost-benefit
0 likes · 8 min read
Why Adopt TypeScript in Frontend Development: Business Motivation, Error Analysis, Cost‑Benefit, and Implementation Plan
Python Programming Learning Circle
Python Programming Learning Circle
Jun 26, 2023 · Fundamentals

Python Is Effectively Two Languages: Typed vs Untyped and Their Roles

The article explains how Python now exists as both a typed and an untyped language, discusses the distinction between infrastructure and business‑logic code, and argues that embracing both approaches—using type hints for business logic while keeping infrastructure code flexible—benefits developers and the community.

PythonSoftware Developmentbusiness-logic
0 likes · 7 min read
Python Is Effectively Two Languages: Typed vs Untyped and Their Roles
Sohu Tech Products
Sohu Tech Products
Jun 7, 2023 · Frontend Development

Migrating Large JavaScript Projects to TypeScript with Airbnb's ts‑migrate

This guide explains why large JavaScript codebases are moved to TypeScript, compares mixed and full migration strategies, and provides a step‑by‑step tutorial on using Airbnb's ts‑migrate tool, its plugins, and related commands to automate the conversion.

JavaScriptTypeScriptcode migration
0 likes · 10 min read
Migrating Large JavaScript Projects to TypeScript with Airbnb's ts‑migrate
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2023 · Fundamentals

Applying Rust‑Inspired Type Safety and Design Patterns to Python

The article explains how Rust’s strict type system and concepts such as type hints, dataclasses, algebraic data types, newtype, typestate patterns, and safer mutex designs can be adopted in Python to improve code robustness, readability, and maintainability.

PythonRustdataclasses
0 likes · 20 min read
Applying Rust‑Inspired Type Safety and Design Patterns to Python
Python Programming Learning Circle
Python Programming Learning Circle
May 16, 2023 · Fundamentals

Python Is Effectively Two Languages: Typed vs. Untyped and Why It’s a Good Thing

The article explains how Python now exists as both a typed and an untyped language, distinguishes infrastructure code from business‑logic code, and argues that embracing both styles—using type hints for business logic while keeping infrastructure flexible—strengthens developers and improves software quality.

Software Developmentbusiness-logicinfrastructure-code
0 likes · 7 min read
Python Is Effectively Two Languages: Typed vs. Untyped and Why It’s a Good Thing
ByteFE
ByteFE
Feb 20, 2023 · Fundamentals

Understanding TypeScript’s Type System: Safe Any Interoperability and Top‑Level Types

This article explains how TypeScript’s type system works, why the any type is unsafe, how to convert any to the top‑level unknown type for safer code, and demonstrates practical patterns such as subtype reasoning, nominal vs structural typing, and type‑safe wrappers using runtime checks.

TypeScriptanystatic-typing
0 likes · 25 min read
Understanding TypeScript’s Type System: Safe Any Interoperability and Top‑Level Types
ByteDance Web Infra
ByteDance Web Infra
May 21, 2021 · Frontend Development

Understanding the Popularity of TypeScript: History, Features, and Future Outlook

TypeScript’s rapid rise stems from its incremental type system, strategic collaborations, and tooling ecosystem—including DefinitelyTyped, JSX support, and integration with Babel and modern build tools—while its future may involve native type annotations in JavaScript and continued community‑driven evolution.

JavaScriptTypeScriptstatic-typing
0 likes · 17 min read
Understanding the Popularity of TypeScript: History, Features, and Future Outlook
Python Programming Learning Circle
Python Programming Learning Circle
May 8, 2021 · Fundamentals

The Slowest Modern Programming Languages: Perl, PHP, Ruby, and Python

This article examines why dynamic‑typed languages such as Perl, PHP, Ruby, and Python are generally slower than compiled or statically‑typed languages, discusses static versus dynamic typing, and emphasizes that performance issues often stem from implementation choices rather than the languages themselves.

Dynamic TypingPHPPerl
0 likes · 6 min read
The Slowest Modern Programming Languages: Perl, PHP, Ruby, and Python
Python Programming Learning Circle
Python Programming Learning Circle
Apr 21, 2021 · Fundamentals

Python 3.9’s New Features: A Critical Look at Unnecessary Bloat

The article argues that Python 3.9’s recent additions—static type checking, variable annotations, extended operators, new string methods, and other syntactic sugar—contradict the language’s original philosophy of simplicity and elegance, turning Python into a heavier, less readable tool for developers.

code qualitylanguage designpython-3.9
0 likes · 14 min read
Python 3.9’s New Features: A Critical Look at Unnecessary Bloat
政采云技术
政采云技术
Jan 5, 2021 · Frontend Development

Writing High-Quality Maintainable Code: Awesome TypeScript

This article explains why TypeScript was created to overcome JavaScript's shortcomings, compares the two languages, and details essential TypeScript features such as static typing, enums, interfaces, classes, generics, type guards, and practical coding tips to help developers write clean, robust, and maintainable front‑end code.

Best PracticesType GuardsTypeScript
0 likes · 16 min read
Writing High-Quality Maintainable Code: Awesome TypeScript
Huajiao Technology
Huajiao Technology
May 18, 2020 · Frontend Development

Pros and Cons of TypeScript: A Comprehensive Overview

This article examines TypeScript—a Microsoft‑backed JavaScript superset—detailing its static‑typing benefits, improved readability, bug reduction, and active ecosystem while also discussing learning costs, slower development speed, library compatibility issues, and the necessity of compilation, helping developers decide whether to adopt it.

JavaScriptTypeScriptcode maintainability
0 likes · 11 min read
Pros and Cons of TypeScript: A Comprehensive Overview
Python Programming Learning Circle
Python Programming Learning Circle
Apr 28, 2020 · Backend Development

Three Secret Weapons for Python Developers: Kite, Mypy, and SonarLint

An experienced Python engineer shares three indispensable tools—Kite for AI‑powered code completion, Mypy for static type checking, and SonarLint for real‑time linting—explaining their benefits, usage examples, and how they improve coding speed, reliability, and error detection.

Pythoncode completiondevelopment tools
0 likes · 8 min read
Three Secret Weapons for Python Developers: Kite, Mypy, and SonarLint
Qunar Tech Salon
Qunar Tech Salon
Oct 22, 2019 · Backend Development

Our Journey to Type‑Checking 4 Million Lines of Python at Dropbox

This article recounts Dropbox’s multi‑year effort to adopt static type checking with mypy across millions of Python lines, detailing why type checking is essential for large projects, the performance challenges encountered, and the engineering solutions—including incremental checks, a daemon, and a custom compiler—that enabled successful migration.

DropboxPythonlarge codebase
0 likes · 18 min read
Our Journey to Type‑Checking 4 Million Lines of Python at Dropbox
System Architect Go
System Architect Go
Jul 2, 2019 · Backend Development

Comparing Go and Node.js: Key Features for Node.js Developers

This article compares Go and Node.js from a Node.js developer’s viewpoint, highlighting Go’s static typing, compiled nature, enforced formatting, built‑in libraries, package management, and tooling, and provides resources for learning Go effectively.

GoNode.jscompiled language
0 likes · 7 min read
Comparing Go and Node.js: Key Features for Node.js Developers