zhustec's recent timeline updates
zhustec

zhustec

V2EX member #212466, joined on 2017-01-29 10:17:55 +08:00
zhustec's recent replies
这么长的名称真的就优雅吗?要论命名,shell 也可以用 alias 命名出更具可读性的名字,也可以尽量使用两横的长参数。
不见得 Get-Content 就比 cat 更具可读性,也不见得 Sort-Object 就比 sort 更具可读性。可读性也是要针对有一定 shell 基础的人来说的,也不能说只有一个一点都不懂 shell 的人能看懂才叫可读。
xpath 好用 +1
用正则一般只在比较简单的时候,复杂的时候还用正则可能纯粹只是为了炫技
May 9, 2020
Replied to a topic by guyeu Python 2020 年了,各位拥抱 Python 的类型注释了么?
@no1xsyzy

这样写也太丑了
May 9, 2020
Replied to a topic by guyeu Python 2020 年了,各位拥抱 Python 的类型注释了么?
一直没搞懂指向自身类型该怎么写

```python
class Node:
value: int
prev: ??
next: ??
```
May 7, 2020
Replied to a topic by miaomiao2014 Ubuntu WSL2 安装 ubuntu20 出问题,怎么解决?
大版本 1909 是可以的,五位数那个版本不够。我就是 1909 用的 wsl2 的 Ubuntu2004
Apr 20, 2020
Replied to a topic by xiaoming1992 Python Python 返回 self 时类型应该怎么写?
我之前也碰到类似的问题就是使用 dataclass 和 typing 时如何只是当前类,比如写链表时节点类表示指向下一个节点。
- 怎么安装 Python ?
- 先安装 virtualenv
- 怎么安装 virtualenv ?
- 先安装 Python
Sep 11, 2019
Replied to a topic by qsnow6 Python Pycharm 配合 WSL 太香了!
我用 vscode-remote
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   837 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 21:52 · PVG 05:52 · LAX 14:52 · JFK 17:52
♥ Do have faith in what you're doing.