Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rootlocus
9 days ago
|
parent
|
context
|
favorite
| on:
Top Programming Languages 2025
But TS is not valid JS and nobody uses TS because they can write JS in a file with a different extension. You also get 0 benefit from running `tsc` on a JS file. You could argue that C is valid C++ so there's no reason to discern them either.
wiseowise
9 days ago
[–]
> You could argue that C is valid C++ so there's no reason to discern them either.
Only up to C90, and even modern C++ doesn’t fully implement modern C.
JS is a valid TS.
reply
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: