freefcw 最近的时间轴更新
天黑了
2014-03-21 00:10:43 +08:00
freefcw's repos on GitHub
PHP · 262 人关注
hustoj
the online judge system for acm/icpc
5 人关注
douban4hust
a user script for site douban show book status in library of hust and whu
1 人关注
freefcw.github.com
C++ · 1 人关注
leetcode
my leetcode solutions
C++ · 1 人关注
spartan
spartan engine for Expert MySQL
Go · 0 人关注
build-web-application-with-golang
A golang ebook intro how to build a web with golang
Python · 0 人关注
chnroutes
scripts help chinese netizen, who uses vpn to combat censorship, by modifying the route table so as routing only the censored ip to the vpn
PHP · 0 人关注
credis
Lightweight PHP Redis client that can run standalone or wrap phpredis.
C++ · 0 人关注
deepin-system-monitor
System monitor for deepin
PHP · 0 人关注
digg-comm-base
Automatically exported from code.google.com/p/digg-comm-base
JavaScript · 0 人关注
django-exadmin
New style and free plugin django admin module, UI base bootstrap2
0 人关注
Domain-Driven-Design-zh
《领域驱动设计》中文翻译
PHP · 0 人关注
Eloquent-Repositories
0 人关注
freefcw
Just Personal Page
0 人关注
gitlabhq
GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com
Go · 0 人关注
go-cases
some go code test cases
Python · 0 人关注
guake
Drop-down terminal for GNOME
0 人关注
laravel-repository
Repository pattern implementation for Laravel
PHP · 0 人关注
ldap-auth
ldap-auth
0 人关注
NetEase-MusicBox
网易云音乐命令行版本,排行榜,搜索,精选歌单,登录,DJ节目,快速打碟,本地收藏歌单
JavaScript · 0 人关注
restangular
AngularJS service to handle Rest API Restful Resources properly and easily
Python · 0 人关注
shadowsocks
a lightweight tunnel proxy which can help you get through firewalls
Go · 0 人关注
The-Golang-Standard-Library-by-Example
Golang标准库。对于程序员而言,标准库与语言本身同样重要,它好比一个百宝箱,能为各种常见的任务提供完美的解决方案。以示例驱动的方式讲解Golang的标准库。
Matlab · 0 人关注
welly
Java · 0 人关注
ZhuLingXiong
a demo netty project for long-running connections holder
0 人关注
zoj
Zhejiang University Online Judge - An online judge which allows people to solve algorithm problems online.
freefcw

freefcw

reading,v2ex,wander,python,
V2EX 第 113 号会员,加入于 2010-04-26 13:40:11 +08:00
今日活跃度排名 5248
9 G 82 S 43 B
IT民工,目前在武汉流浪
不完全文科生
根据 freefcw 的设置,主题列表只有在你登录之后才可查看
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
freefcw 最近回复了
@FlyingBackscratc

你说的没错,这个帖子讨论的是 py 的东西,我们目前主要是 pydantic ,用 mypy 做检查, 多不少额外的步骤,但就像 python 开发团队说的,类型系统只是一个辅助,解释器并不会使用,这就只能借助其他手段,也就是你在找的

不过这么做的目的是什么呢




再说点题外的话

`你要说写法,我感觉就算全面落实类似 typescript 写法的 py 也不如 java 繁琐,何况社区基本共识是全面迁移 typescript 类型很蠢,完全放弃优势`

社区的基本共识没错,但行百里半九十,实际复杂的更多还是业务代码,怎么将这一部分处理好更是问题。像 requests 作者就明确表示 typehints 的使用问题: https://lwn.net/Articles/643399/

Java 的类型声明反而是语言本身的要求,更自然,清晰,为此不得不将复杂度暴露给使用者。给 requests 库的接口加 typehints 就面临因为接口太易用,导致 typehints 异常复杂很难维护,具体上面 requests 的作者 lukasa 有举例说明,typehints 从刚开始推出到现在也在不断的进化,但做这么多搞这么复杂,又是为了解决什么问题

回到 python 和 type hints ,为什么 python 要加 type hints

复杂度和易用性有点像鱼和熊掌不可兼得,通盘考虑下,java + springboot 的生态远比 python 的强多了,我团队的人整了一套尝试组建一套基于 fastapi 的快速框架,但效果实在不那么理想
@Vegetable 最近出了几个项目,确实是深有同感,还不如 springboot 一套的效率高了
22 天前
回复了 ky1e 创建的主题 Ubuntu 目前 ubuntu 服务器版哪个版本最稳定好用
@jeremyl313 昨天我的 gnome 也崩了……之前 23.10 那么久都没事
@ronen 忘记了,当时看差不多要 release 了,直接 sudo update-manager -d ,提示新版本然后升级
早几天就升级上去了。。。感觉确实是好一些
一般试用期,你要个一周到两周的赔偿或期限,还是可以讨论讨论的,折腾起来 HR 那边也不好过
做得不错,这么小精简的应用很爱
观望一下这个帖子
229 天前
回复了 xption 创建的主题 旅行 [国庆自驾游] 第四天 麻城-襄阳
热干面居然点外卖,送到不是都已经干了……出门找个小面馆都会好很多
262 天前
回复了 babyoung 创建的主题 MacBook Pro 今天给老 MBP 升级了一下硬盘,继续战吧
@babyoung 是啊,我那 8g 就基本吃灰了
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2679 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 14:46 · PVG 22:46 · LAX 07:46 · JFK 10:46
Developed with CodeLauncher
♥ Do have faith in what you're doing.