1
Go 语言和 Java 接口的优缺点分别是什么呢?
source link: https://www.v2ex.com/t/860607
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Go 等语言采用的是隐式声明,而 Java 等语言采用的是显示声明,这两种不同的声明在大型业务开发中有哪些优缺点呢?实际上哪种在业务开发中才是最好用的呢?
3 条回复 • 2022-06-19 10:27:12 +08:00
sadfQED2 3 小时 2 分钟前 via Android 2 个人喜欢 java 的风格,go 语言碰瓷似的,永远不知道你实现了哪些接口
|
ToBeHacker 2 小时 30 分钟前 没有哪种最好,够用就行了。Java 算是传统的 oo 语言,核心优势在于 IO 与 goroutine
|
lhx2008 2 小时 24 分钟前 via Android 有了 ide 的话,go 的更好,接口可以更小而且可以组合
|
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK