Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q&A : why use js over ts? #1101

Closed
laciferin2024 opened this issue Feb 1, 2025 · 5 comments
Closed

Q&A : why use js over ts? #1101

laciferin2024 opened this issue Feb 1, 2025 · 5 comments

Comments

@laciferin2024
Copy link

laciferin2024 commented Feb 1, 2025

Typescript is typesafe and offers better development experience

@jelveh
Copy link
Contributor

jelveh commented Feb 2, 2025

offers better development experience

That's subjective

@laciferin2024
Copy link
Author

I was expecting more of a concrete reason not a debate. Why avoid type safe?

@jelveh
Copy link
Contributor

jelveh commented Feb 3, 2025

I didn't mean to be sarcastic. I actually meant that the statement "offers better development experience" is subjective.

One main reason to not use TS is because it adds build overhead. Also, the number of developers that know JS is more than TS; we'd like Puter to be accessible to as many developers as possible. Type safety is not valuable enough for us to justify limiting the contributor pool.

@laciferin2024
Copy link
Author

I would like to know more of the build overhead as the typescript has more reliable opensource contributors , (IMO)

@jelveh
Copy link
Contributor

jelveh commented Feb 6, 2025

I would like to know more of the build overhead

ts needs to be transpiled to js.

typescript has more reliable opensource contributors , (IMO)

this is anecdotal

@jelveh jelveh closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants