This is a creation in
Article, where the information may have evolved or changed.
Go , also known as Golang, is a programming language created by the three outstanding developers currently working on Google. It's a very new language, and it's only been released in version 1.0 for 2012 years. The belief in creating the language is because C + + is growing too complex and bloated, and go was originally designed to attract system-level programmers. is most popular with Python developers and other dynamic language communities . Go is a very good language, it provides a lightweight and concise syntax, comparable to high-level language, the addition of static type, very powerful concurrency support, the original performance can be comparable to (similar to C + +) low-level language.
Java in enterprise projects for large and large teams is a wonderful language, Java requires considerable overhead to develop and deploy a new application. Its lengthy features are not suitable for small projects and one-off tasks. All Java developers have one or more languages as the fallback language to easily handle other tasks. Other language experiences can broaden the developer's horizons and improve their ability to work in the Java language. Go is one of the best fallback languages for Java developers.
Because go is designed as a system-level language and is popular with the dynamic language community, there are a lot of available go learning resources for C + + and Python developers, and go is relatively easy to learn, but there is not a lot of learning material for Java developers.
This series of articles is to fill this gap, each topic focused on a field such as Go syntax, go ecosystem, from the Java developer's point of view to explain go, thank you for reading, I hope you can feel happy in go.
Go theme: Java Developer series
-
Overview – Go more detailed background introduction, and Java learn the benefits of Go
-
Package, function, variable – compare the basic syntax of Java and go from three elements
-
Control Structure – Introduction to Go's if, for, switch, compare their differences from a Java perspective, and introduce their flexibility
Topics for the future
Following are the topics that will be issued by the follow-up plan, please let me know if you want to look at some additional topics.
-
Formatting rules –go has very good format code and other better practices
-
Data structures – Understand the structure of the go, compare and contrast with Java
-
Collection – describes the core collection types of Go (arrays, slices, maps) and the Java Collection framework similar to
-
Pointer
-
Exception handling – A simpler exception-handling model than Java's Try-catch
-
Build and Dependency Management – a "go" tool similar to Maven
-
Concurrency – multithreading (or better), low consumption
-
IDE and tools – tools around the go ecosystem
-
Documentation – Compare Godoc and Javadoc
-
More...