Update 02.1.md
Typo (tyep -> type)
This commit is contained in:
committed by
James Miranda
parent
33c7ca4316
commit
66bf122e95
@@ -13,7 +13,7 @@ The Go programming language was created with one goal in mind, to be able to bui
|
||||
}
|
||||
or for python should we use 4 spaces or 6 spaces or a tab or two tabs and other user preferences.
|
||||
|
||||
While this might seem to be a shallow problem at the top, but when the codebase grows and more and more people are working on the same code base, then it is difficult to maintain the code's "beauty", if you know python then you might be aware of PEP8, which is a set of guidelines about how to write elegant code. We live in a world where robots can drive a car, so we shouldn't just write code, we should wriet elegant code.
|
||||
While this might seem to be a shallow problem at the top, but when the codebase grows and more and more people are working on the same code base, then it is difficult to maintain the code's "beauty", if you know python then you might be aware of PEP8, which is a set of guidelines about how to write elegant code. We live in a world where robots can drive a car, so we shouldn't just write code, we should write elegant code.
|
||||
|
||||
For other languages there are many variables when it comes to writing code, every language is good for its use case, but Go is a little special in that turf because it was designed at a company which is the very synonym of the Internet (and distributed computing), typically the flow of writing code goes from Python to Java to C++ for optimization purposes, but the problem is that almost all languages which are widely in use right now were written decades ago when 1GB storage costed a lot as compared to now, where storage and computing has gotten cheap. Computers are getting multiples cores these days and the "old languages" don't harness concurrency in a way that go does, not because those languages are bad, but simply because that usecase wasn't relevant when the languages evolved.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user