The best way to learn a programming language is to write a lot of code and read a lot of code.…
It’s been a year since I revealed the best languages to learn in 2013. Once again, I’ve examined the data produced by Jobs Tractor who analyzed more than 45,000 developer jobs advertised on Twitter during the past twelve months. The results: Java 8,7…
Questions that are independent of programming language.  These questions are typically more abstract than other categories. Free Language Agnostic Programming Books 97 Things Every Programmer Should Know Algorithms and Data-Structures (PDF) Algorithm…
Contents Tutorial Hello, World Command-Line Arguments Finding Duplicate Lines A Web Server Loose Ends Program Structure Names Declarations Variables Assignments Type Declarations Packages and Files Scope Basic Data Types Integers Floating-Point Numbe…
此书的作者 Andrei Alexandrescu 作为前 C++ 社区的一朵奇葩,因为实在是不满 C++ 标准委员会的官僚作风,跳槽到了 D 社区,成为了 D 发明人 Walt Brightman 的好基友,最终写出了这本神奇的 The XXX Programming Language 居然不是语言发明人本人写的书. 先谈谈历史,D 语言最早从 1999 年就开始开发了,掐指算算,到现在(2013 年)为止已经过去十多年了,十多年啊,结果到现在还是一种烂泥巴扶不上墙(请原谅我的法语)的状态,最…
probably Unix Shell scripts, Perl, or Python and R can be the best options. ---------- 1-python 2-R 3-perl ---------- I would say, Python AND R. Although, just python would be sufficient already, it has great capabilities (including bioinformatics li…
https://talks.golang.org/2012/splash.article Go at Google: Language Design in the Service of Software Engineering Rob Pike Google, Inc. @rob_pike http://golang.org/s/plusrob http://golang.org Contents Abstract Introduction Go at Google Pain points De…
iOS Swift-元组tuples(The Swift Programming Language) 什么是元组? 元组(tuples)是把多个值组合成一个复合值,元组内的值可以使任意类型,并不要求是相同类型. 元组长什么样? 如下: let nameAndAge = ("旭宝爱吃鱼",22); print(nameAndAge); 打印出了什么呢? 如下: ("旭宝爱吃鱼", 22) 是不是对元组有了清晰的了解了呢... 那么下面继续深入了解一下. 元组的分解 比…
iOS Swift-控制流(The Swift Programming Language) for-in 在Swift中for循环我们可以省略传统oc笨拙的条件和循环变量的括号,但是语句体的大括号使我们必须要写的,拿一个遍历数组的例子来介绍: //遍历数组中的元素 let listArray = [1,2,3,4,5,6,7,8,9]; for number in listArray { print(number) } 如果我们想让循环体循环10次我们该怎么去做呢??? //这是一个很不错的方法…
iOS Swift-简单值(The Swift Programming Language) 常量的声明:let 在不指定类型的情况下声明的类型和所初始化的类型相同. //没有指定类型,但是初始化的值为int.因此constant的类型为int let constant = 100 在制定类型的情况下声明的类型要和初始化的类型相同,否则报错. //这是正确的写法 let constant: Int = 100 //这是错误的写法会报错 let constant: Int = 100.0 变量的声明…