2015-02-15 KasperDeng
go build compile the package named by the import paths and thier dependencies go build package/*.go if build *.go, a virtual package command-line-arguments is created internally $WORK/command-line-arguments/_obj/: stores the obj files 继续阅读 »
2015-02-08 KasperDeng
== Java == What The constant pool contains the constants associated with the class or interface defined by the file. Constants are stored in the constant pool. literal strings final variable values fully qualified names of classes and interfaces field names and descriptors method names and descriptors Symbolic refer 继续阅读 »
2015-02-01 KasperDeng
|Operator | Java | Go | Python | Javascript | |:-----------------------|:---------------------------|:-------------------------:|:------------:|:-----------------| |++, -- | statement | not statement, expression | 继续阅读 »
2015-01-29 KasperDeng
|Set | Java | Python | Go | |:--------|:-----------------------|:----------|:----------| |type | Set, HashSet, etc | set | N/A | |package | import Set | primitive | N/A | |mutable | Y | Y | N/A | 继续阅读 »
2015-01-22 KasperDeng
|Map | Java | Python | Go | |:--------|:-----------------------|:----------|:----------| |type | Map, HashMap, etc | dict | Map | |package | import Map | primitive | primitive | |mutable | Y | Y | Y | 继续阅读 »
2015-01-15 KasperDeng
Data structure stores a sequence of items in a list |List | Java | Python | Go | |:------------|:---------------------------------|:----------|:--------------------| |type | List, Arraylist, LinkedList | list | List | |package | im 继续阅读 »
2015-01-08 KasperDeng
| Item | Java | Python | Go | Javascript | |:-----------------|:-----------------|:------------|:--------------------|:-----------| |type | String | str/unicode | string | N/A | |package | import String | primitive | 继续阅读 »
2015-01-02 KasperDeng
Type determination java interface query: interfaceDemo instanceof InterfaceDemo subClassInstance instanceof ParentClass python isinstance golang interface query: value, ok := element.(T) element is interface var, T is base type switch value := element.(type) 继续阅读 »