- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 Nim 语言的web框架jester感觉像坨屎
看了jester的源码和写出来的web网站源码, 真的是另外一种习惯.给我一种屎一样的感觉.也许你要说我心里只有屎了, 我会说, 按照老子的说法, 屎也是蕴含有道理的.可能是用静态语言写web就是个傻逼的选择. 也许go语言更好点.
2015-12-12 10:13:20 4754 4
原创 Nim语言太复杂了
1, 不得不承认, nim语言的速度比python快了很多.2. nim需要关注的点太多了, 比如类型的定义, 类的方法和类脱离了, 字符串处理的不同之处, 另外就是macro和templates, 估计是拥有的特点都想让你掌握了.3. net库的dispatch, 还是不好掌握, 难.4. 学习的优雅比python差, 如果学了python再学nim, 简直是一不小心就掉坑里, 而且
2015-12-09 13:32:31 13281
原创 Nim语言字符串切片
Python中对字符串切片很方便.比如a="Hello world"a[1:5] 就是从第1个到第5个字符片段, (索引从0开始), ='ello', 长度=5-1a[2:4] 就是2至4个字符, a[2:4]='ll', 长度=4-2a[1:-2] 就是从第一个到倒数第2个字符,='ello wor'a[1:] 就是从第一个字符到尾部所有字符(这个nim语言不行)
2015-12-09 10:09:11 3267
原创 终于学会了在github上创建一个release、tag了
$ git push origin v0.1.0Counting objects: 1, done.Writing objects: 100% (1/1), 160 bytes | 0 bytes/s, done.Total 1 (delta 0), reused 0 (delta 0)To https://github.com/username/projectname.git * [n
2015-12-03 23:29:34 26878
DDTCMS 0.2.3.pre.20090808
2009-11-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人