技术宅,fat-man

增加语言的了解程度可以避免写出愚蠢的代码

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

06 2014 档案

hg vs git :这个世界除了svn还有别的
摘要:最近想用版本控制软件来保存汉化文件,但又觉得SVN太麻烦,于是想到了最近较为流行的分布式版本控制工具。而Git和Mercurial(意思为水银的,于是经常缩写为Hg)自然是其中最为流行的工具。大名鼎鼎的Linux就用Git作源码管理,而Python和Firefox则采用Hg(你可以在这找到一堆使用H... 阅读全文

posted @ 2014-06-19 08:52 codestyle 阅读(1452) 评论(0) 推荐(1) 编辑

GO语言中的指针
摘要:http://www.tizgrape.com/?p=100Go语言中的指针语法和C++一脉相承,都是用*作为符号,虽然语法上接近,但是实际差异不小。Go使用var定义变量:var v6 *int // int* v6; (but no pointer arithmetic)x = *p(*in... 阅读全文

posted @ 2014-06-05 17:49 codestyle 阅读(4255) 评论(1) 推荐(0) 编辑

go 语言与循环
摘要:package mainimport "fmt"type Employee struct{name string; age int} func displayName(e *Employee){ fmt.Printf("employee name is %s , age is %d\n",(*... 阅读全文

posted @ 2014-06-04 16:54 codestyle 阅读(300) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示