S SmartDocs

编程语言

Python、C、C++、Java、JavaScript、TypeScript、Go、R 与 Haskell 教程,从入门语法到高级技巧。

Java Old EN 更新于 2026-02-03

Module 2 — Locks, Synchronization & Lock-Free Design (2 weeks)

Real exchanges do not rely on naïve synchronized usage.

阅读文章 →
Java Old EN 更新于 2026-02-03

Module 3 — Java Concurrency Utilities in Depth (2 weeks)

Design principles: For CPU-bound: pool size ≈ number of cores (or cores + 1). For I/O-bound: larger pool or separate pools so blocking doesn’t starve CPU. Prefer bounded queues and explicit rejection policy in production

阅读文章 →
Java Old EN 更新于 2026-02-03

Module 4 — Asynchronous Programming & Reactive Thinking (2 weeks)

Async-first thinking is essential for Web3 and exchange systems.

阅读文章 →
Java Old EN 更新于 2026-02-03

Module 5 — Concurrency Models Used in Exchanges (2 weeks)

This module provides major interview differentiation.

阅读文章 →
Java Old EN 更新于 2026-02-03

Module 6 — Real-World Exchange System Design (2–3 weeks)

States: Created → Validated → Accepted → PartiallyFilled → Filled / Cancelled / Rejected. Transitions: Strict state machine; idempotent by client order ID where applicable. Persistence: Persist at accept and at every fil

阅读文章 →
Java Old EN 更新于 2026-02-03

Module 7 — Using Spark to Concurrently Process Big Data (2 weeks)

Scale beyond a single JVM: distribute work across a cluster with Apache Spark.

阅读文章 →
Java Old EN 更新于 2026-02-03

Library Management System - Multi-file Project Example

This project demonstrates a complete Java application with proper package structure and separation of concerns.

阅读文章 →
Java Old EN 更新于 2026-02-03

ABC Project - Multi-File Java Project Example

This project demonstrates a simple multi-file Java application where: A.java is the main class that uses classes from B.java and C.java B.java provides utility functions (mathematical operations) C.java provides data pro

阅读文章 →
Python EN 更新于 2026-02-03

1. Getting Started with Python

Python is a high-level, interpreted programming language known for its simplicity and readability. Created by Guido van Rossum and first released in 1991, Python has become one of the most popular programming languages w

阅读文章 →
Python EN 更新于 2026-02-03

2. Core Syntax - Variables, Data Types, and Operators

Variables are containers for storing data values. In Python, you don't need to declare variables with a specific type - Python automatically determines the type based on the value assigned.

阅读文章 →
Python EN 更新于 2026-02-03

3. Control Flow - Making Decisions and Repeating Actions

Control flow determines the order in which statements are executed in a program. Python provides several control flow structures to make decisions and repeat actions.

阅读文章 →
Python EN 更新于 2026-02-03

4. Data Structures - Organizing and Storing Data

Data structures are ways of organizing and storing data in a computer so that it can be accessed and modified efficiently. Python provides several built-in data structures that are essential for programming.

阅读文章 →
Python EN 更新于 2026-02-03

5. Functions - Reusable Code Blocks

Functions are reusable blocks of code that perform specific tasks. They help organize code, avoid repetition, and make programs more modular and maintainable.

阅读文章 →
Python EN 更新于 2026-02-03

6. Error Handling - Making Programs Robust

Error handling is crucial for creating robust, user-friendly programs. Python provides several mechanisms to handle errors gracefully and prevent programs from crashing unexpectedly.

阅读文章 →
Python EN 更新于 2026-02-03

Python Beginner Level - Complete Teaching Materials

This directory contains comprehensive teaching materials for Python beginners, designed to build a solid foundation in programming concepts and Python syntax.

阅读文章 →
Python EN 更新于 2026-02-03

1. Advanced Functions - Taking Functions to the Next Level

Building on the foundation of basic functions, this lesson explores advanced function concepts that make code more flexible, reusable, and powerful.

阅读文章 →
Python EN 更新于 2026-02-03

2. File Handling - Reading, Writing, and Managing Data

File handling is essential for persistent data storage and retrieval. This lesson covers reading from and writing to files, working with different file formats, and managing file operations safely.

阅读文章 →
Python EN 更新于 2026-02-03

3. Modules & Packages - Organizing and Reusing Code

Modules and packages are essential for organizing code into reusable components. This lesson covers creating your own modules, working with Python's standard library, and managing dependencies with virtual environments.

阅读文章 →
Python EN 更新于 2026-02-03

4. Object-Oriented Programming (OOP) - Classes and Objects

Object-Oriented Programming is a programming paradigm that uses objects and classes to organize code. This lesson covers creating classes, working with objects, inheritance, polymorphism, and encapsulation.

阅读文章 →
Python EN 更新于 2026-02-03

5. Advanced Data Structures - Beyond the Basics

Building on basic data structures, this lesson explores advanced concepts including stacks, queues, comprehensions, and complex nested data structures that are essential for efficient programming.

阅读文章 →
Python EN 更新于 2026-02-03

6. Testing - Ensuring Code Quality

Testing is crucial for ensuring code reliability and preventing bugs. This lesson covers unit testing, testing frameworks, test-driven development, and best practices for writing effective tests.

阅读文章 →
Python EN 更新于 2026-02-03

Intermediate Level - Problem Solving & OOP

Welcome to the Intermediate Level of your Python learning journey! This level focuses on structured programming, file handling, and object-oriented design. You'll learn to solve more complex problems and organize your co

阅读文章 →
Python EN 更新于 2026-02-03

1. Advanced Object-Oriented Programming - Professional Design Patterns

Building on intermediate OOP concepts, this lesson explores advanced object-oriented programming techniques including abstract classes, multiple inheritance, advanced magic methods, decorators, and design patterns used i

阅读文章 →
Python EN 更新于 2026-02-03

2. Functional Programming - Elegant and Efficient Code

Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions. This lesson explores higher-order functions, closures, decorators, and functional programming techniqu

阅读文章 →