Java 會唔會俾JavaScript 收皮

323 回覆
9 Like 225 Dislike
2021-07-25 10:09:15
做咩js比你地講到咁垃圾嘅
2021-07-25 10:11:43
香港有冇人寫multithreading
我個prof話識寫multithreading 人工好高
2021-07-25 10:21:54
方便
但太多遺留問題搞到好濕尻
2021-07-25 10:25:23
有multithreading嘅languange就有人用mutlithread咖啦
2021-07-25 11:17:42
我依係外國一條team幫本地大公司(telecommunications 龍頭)做一個web based project, 條team30幾人,上面班lead engineers堅持要用next.js+typescript, 佢哋睇好next js嘅發展,事實係開發next js嘅公司最近融資左過億美金,的確發展得好好, 我都相信next js 會成為node js嘅backend framework 代表作,好似django係python嘅一樣。
Java, c++,go land, rust 呢d自然有佢地嘅用處,所以呢個問題本身on9
但係上面班人講到js一無是處, 好似大公司唔用js做backend 嘅人一樣好on9(不過基本上都加typescript 上去)
事實係,js,Java都有佢地嘅優點,佢哋可以生存到依家就係證明,拎咩language 做project 係depends on project嘅需求
所以上面班人都唔知嘈黎做乜
2021-07-25 11:19:31
事實係,js,Java都有佢地嘅優點
可唔可以講多啲
2021-07-25 11:45:59
做咩突然興server side rendering
我都睇好JS 打算花多啲時間學, full stack lang
main JS, JAVA, C++
Python 唔睇好
2021-07-25 11:53:16
multiple threading都有分高低,我認得嘅有四類

- 四圍share variable, lock variable搞到deadlock
- 四圍用volatile/atomic, 但係依然冇解決data race
- 或者完全唔用lock/atomic/volatile, 出現data race就話undefined behavior係一個feature
- 依家個Java最流行嘅係actor model/reactive stream, 就係share-nothing message passing

好多時,第四類會係最少error,而且好適合distributed computing
2021-07-25 12:23:12
multi-thread 最常用都係async jms
2021-07-25 12:24:46
都係分享下個人取向
我係歧視WEAK TYPE
我係唔鐘意WEAK TYPE
吹呀


唔鐘意還唔鐘意 用到都係會用
2021-07-25 12:31:07
Java generic type用type erasure
重weak過typescript
大家都係垃圾
2021-07-25 13:15:23
你想講concurrency?
concurrency vs parallelism係永恒既爭論嚟
2021-07-25 13:17:55
Quant要快multithreading boost速度係好重要
所以先用啲接近C速度例如Q呢類既語言鬥快
2021-07-25 13:42:27
nextjs 唔係用嚟 server side render react 嘅野咩
個 tools 係好用但係唔係好關 backend 事
同埋 你寫 web frontend 揀 react 嘅話都係 nextjs 做

仲有 nextjs 唔係揀公司主要 product
人哋主要係做類似 heroku 但係比 heroku更簡單嘅 PaaS
而且都做得幾大
2021-07-25 14:00:14
Next js係用react做front end 但你可以唔用react, 用next js 做API都得,唔係淨係server side rendering react咁簡單,佢仲有static side rendering,仲有一系列package support 好似next authentication
我知vercel 唔係得next js,佢仲有類似frameworks for vuejs 好似nuxt js
But 間公司嘅PaaS都係圍繞住next js nuxt js 嘅platform support。間公司嘅融資好影響next js嘅發展
2021-07-25 14:08:34
呢d trade off 黎,要一邊就無另一邊

睇個project做乜去決定要乜
2021-07-25 14:12:02

你叫銀行唔用J2EE,用Node.js
2021-07-25 14:18:27
:o
我一向用 assembly language 寫 Blackend架
你唔係唔得呀
2021-07-25 14:29:29
一開始寫Js亂撚到,之後放棄了
2021-07-25 14:29:31

Webbase JavaScript係第一
得佢做到面既Interaction
Backend 用乜真係無乜分别
2021-07-25 15:22:07
咁當然我都覺得 nextjs 幾乎係 react 界 standard 嚟
我意思係佢主要係偏 frontend 果邊
backend 果邊唔係淨係得個 router 就夠
要寫晒成個 mvc stack 至少都要加埋個 orm
例如 prisma 之類
所以淨係用 nextjs 寫成個 full stack js 係唔夠的
2021-07-25 15:28:25
我重以為佢想打nest
2021-07-25 15:33:02
The State of Developer Ecosystem in 2021 Infographic | JetBrains: Developer Tools for Professionals and Teams
https://www.jetbrains.com/lp/devecosystem-2021/

The top-5 languages developers are planning to adopt or migrate to are Go, Kotlin, TypeScript, Python, and Rust.

The top-5 languages developers were learning in 2021 were JavaScript, Python, TypeScript, Java, and Go.

The 5 fastest growing languages are Python, TypeScript, Kotlin, SQL, and Go.
2021-07-25 15:34:48
nest js ah ma ching, next is react framework wor
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台潮流台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台成人台黑 洞