Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fzeindl
on July 7, 2023
|
parent
|
context
|
favorite
| on:
TypeScript please give us reflection/runtime types
You can use Kotlin and compile to JavaScript. It's type system is better and the standard library greater
scnr
booi
on July 7, 2023
|
next
[–]
This is the way. Best of both worlds although using js libraries is kind of a pain
andix
on July 7, 2023
|
prev
|
next
[–]
Exactly. Pick whatever language you like. There are many more options.
lf-non
on July 8, 2023
|
prev
[–]
Kotlin's type system works great for interop with a nominally typed lang like java but for interop with a dynamically typed lang like js and myriad of its libs not designed with type safety in mind, structural typing is far more convenient.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: