Giter Club home page Giter Club logo

Comments (4)

aka-phrankie avatar aka-phrankie commented on May 30, 2024 1

初级:升级标准:掌握基础数据结构和可调用性

any # 最简单类型注解
list # 常用内置容器类型,需要理解基础数据结构
dict # 常用内置映射类型,需要理解键值对映射关系
tuple # 不可变容器类型,理解不可变性
callable # 需要理解函数和可调用性

中级:升级标准:掌握函数参数和返回值注解的定义

optional # 理解可选参数的使用
parameter # 掌握参数注解的定义
return # 掌握返回值注解的定义
literal # 理解字面量类型的使用
union # 理解联合类型的使用

高级:升级标准:掌握类、函数和泛型的高级用法

decorator # 需要理解函数装饰器
class-var # 需要理解类和类属性
instance-var # 需要理解实例和实例属性
overload # 需要理解方法重载
protocol # 需要理解协议和抽象类型
recursive # 需要理解递归函数和数据类型
self # 需要理解实例方法中的self
typeguard # 需要实现类型保护
generic # 需要掌握泛型的定义和使用
generic-param # 需要掌握泛型参数的定义
generic-with-constraints # 需要掌握有约束的泛型

按照最小知识量提升原则让claude排布的,但是感觉高级里面还是太密了,请有工程实践经验的人再优化排布😊。

from python-type-challenges.

frostming avatar frostming commented on May 30, 2024

Several criteria I can think of:

  • The simplicity of the reference solution
  • The commonality of the pattern in development
  • The popularity of the typing primitives used by the reference solution

from python-type-challenges.

laike9m avatar laike9m commented on May 30, 2024

我觉得可以加一个 extreme 类别,区分于 advanced。

  • The commonality of the pattern in development

感觉 commonality 和 popularity 不是特别好判断

from python-type-challenges.

laike9m avatar laike9m commented on May 30, 2024

Closed. I think a formal criteria is probably unnecessary.

from python-type-challenges.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.