←back to thread

298 points sangeeth96 | 1 comments | | HN request time: 0s | source
Show context
ashishb ◴[] No.46238074[source]
The JavaScript fanatics will downvote me for saying this, but I'll say this, "using a single JavaScript codebase on your client-side and server-side is like cooking food in your toilet, sooner or later, contamination is guaranteed" [1]

1 - https://ashishb.net/tech/javascript/

replies(3): >>46238744 #>>46240063 #>>46241047 #
pier25 ◴[] No.46240063[source]
You can still have separate codebases for server and client in JS/TS...
replies(1): >>46242167 #
1. ashishb ◴[] No.46242167[source]
> You can still have separate codebases for server and client in JS/TS...

Indeed, but unlike Go/Python (backend) and TS/JS (frontend), the separation is surmountable, and the push to "reuse" is high.