V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  quickma  ›  全部回复第 95 页 / 共 129 页
回复总数  2572
1 ... 91  92  93  94  95  96  97  98  99  100 ... 129  
2018 年 4 月 18 日
回复了 quickma 创建的主题 职场话题 女生应该找一个什么样的工作?
@smallHao 每个人都应该找自己喜欢的工作,只是迫于现实,不得已
2018 年 4 月 18 日
回复了 cfwang 创建的主题 职场话题 [苏宁 or 汉得] 前端 offer 选择
面前薪资编程
2018 年 4 月 18 日
回复了 quickma 创建的主题 职场话题 女生应该找一个什么样的工作?
@vinsony 设计师估计当不上

鼓励师没有钱呀
招聘时请尽量给出薪酬范围
2018 年 4 月 18 日
回复了 c466934322 创建的主题 程序员 如何说服团队成员统一规范?
统一规范是要求,不是说服。
2018 年 4 月 18 日
回复了 dbpe 创建的主题 程序员 请教大家一个数据库涉及问题...
冗余字段的设计是有道理的,或许有时候水平分库就是错误的区分
2018 年 4 月 18 日
回复了 Danswerme 创建的主题 问与答 每次跑步起步后左脚腕会无力几秒是什么情况?
缺少某种微量元素有可能
第三四五个项目都可以不写,技能水平属于合格水平。
在腾讯大夏哈哈哈哈
2018 年 4 月 17 日
回复了 Actrace 创建的主题 分享发现 Firefox 59 感觉可以上生产环境了
@EIlenZe 此时应该好好学习英语。https://daily.zhihu.com/story/401
我猜是分页出现问题,特性特性
2018 年 4 月 17 日
回复了 nszm 创建的主题 职场话题 V2 上多了,膨胀了,拒绝加班,老板让我明天结工资
@niubee1 你也配喷?请尽量让自己的回复能够对别人有帮助,已 block
@Hopetree 效率上有差距,虽然大多数的情况下不管,但是作为纯技术讨论是有意义的

附带官方解释: https://docs.python.org/2/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python

if else 是官方认可的方式
2018 年 4 月 17 日
回复了 zhou00 创建的主题 程序员 想问下大家的键盘打字习惯
只要不出错并且效率高,用意念也行呀
@zj299792458 每月
@zj299792458 一年十万平均?上海 2017 年平均工资不到 1w
2018 年 4 月 16 日
回复了 est 创建的主题 Python calibre(电子书管理工具)作者说:老子自己维护 Python 2 :doge:
有理有据,你们看过?
2018 年 4 月 16 日
回复了 est 创建的主题 Python calibre(电子书管理工具)作者说:老子自己维护 Python 2 :doge:
@locktionc
@xuboying
@kmahyyg
@noNOno

1) Waaaaay too much work -- calibre has half a MILLION lines of python and python extension code

2) calibre has lots and lots of code that deals with bytes -- network protocols, binary file formats, etc. Python 3 is simply worse than python 2 for this use case. It has a crippled bytes type among other unfelicities.

3) calibre has lots and lots of native code that interfaces with external native code. On windows, all this code uses UTF-16 encoded strings. All that interface code would need to be re-written and would also become less efficient since in python 2 string are stored internall in UTF-16 whereas in python 3 they would need to be cross-converted.

4) There is absolutely nothing in python 3 that makes it worth the effort. If python 3 ever grows something that makes it worth the effort, I will simply backport it to python 2. I already maintain my own python 2 fork for windows (see my github repos).

The only case in which I will accept patches for python 3 is if they have:

a) negligible runtime cost
b) minimal code complexity/maintainability cost
c) Low probability of breakage -- either the patches are dead simply or they come with lots of tests
1 ... 91  92  93  94  95  96  97  98  99  100 ... 129  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5343 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 45ms · UTC 09:00 · PVG 17:00 · LAX 02:00 · JFK 05:00
♥ Do have faith in what you're doing.