파이써니스타 vs. 고퍼스 (Pythonistas vs. Gophers)
파이써니스타 vs. 고퍼스
Pythonistas vs. Gophers
파이썬 개발자 관점에서 살펴보는 Go 언어. 무엇이 비슷하고 무엇이 다른가?
원문: https://www.coderedcorp.com/blog/golang-for-python-devs/
Pythonistas vs. Gophers
파이썬 개발자 관점에서 살펴보는 Go 언어. 무엇이 비슷하고 무엇이 다른가?
원문: https://www.coderedcorp.com/blog/golang-for-python-devs/
Python | Golang |
open source Python Software Foundation (PSF) Conventions
| open source Conventions
|
Python | Golang |
# A public "constant" that should not be changed. MY_CONSTANT = "Apple" # Public function. def do_thing(): return "Banana" # "Private" function. def _do_thing(): return "Cherry" # A public class. class MyClass: pass | // A public constant that cannot be changed. const MyConstant = "Apple" // Public function. func DoThing() string { return "Banana" } // Private function. func doThing() string { return "Cherry" } // A public struct. type MyStruct struct {} |
Python | Golang |
/* comments */ |
Python | Golang |
Python | Golang |
Python | Golang |
Python | Golang |
Python | Golang |
Python | Golang |
댓글
댓글 쓰기