Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add: Scala, PureScript and ReScript as alt languages#3658

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
thelissimus wants to merge1 commit intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromthelissimus:master
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions1-js/01-getting-started/1-intro/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -112,6 +112,9 @@ Examples of such languages:
- [Dart](https://www.dartlang.org/) is a standalone language that has its own engine that runs in non-browser environments (like mobile apps), but also can be transpiled to JavaScript. Developed by Google.
- [Brython](https://brython.info/) is a Python transpiler to JavaScript that enables the writing of applications in pure Python without JavaScript.
- [Kotlin](https://kotlinlang.org/docs/reference/js-overview.html) is a modern, concise and safe programming language that can target the browser or Node.
- [Scala](https://www.scala-js.org/) lets you write less to do more and it's s static types help you to build safe systems by default. It targets browser and Node.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@thelissimus I wouldn't addhttps://www.scala-js.org just yet as the project seems too small at this time to warrant adding to such a general article

Copy link
Author

@thelissimusthelissimusMay 5, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@smith558 I would argue the opposite. I think Scala.js is mature enough to compete with Kotlin or Dart. My points:

  • Many Scala libraries (including major ones) also support Scala.js, such asCats,ZIO andCirce.
  • The JavaScript platform is actively supported by the guys at Scala Center, which are the official Scala compiler developers.
  • No problems with interoperability, both withJavaScript orTypeScript.
  • Big frameworks or bindings for popular frameworks, such asLaminar,Tyrian,Slinky andscalajs-react.
  • Scala.js is more than 10 years old. Which is older than some of main languages in the list.

Let me know what you think. If you're still not convinced, no problem, I will gladly remove it from the list. Also, thank you for spending your time evaluating the languages and reviewing them!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@smith558 so.... What do you think?

- [PureScript](https://www.purescript.org/) is a strongly-typed functional programming language that resembles Haskell and compiles to JavaScript.
- [ReScript](https://rescript-lang.org/) is a robustly typed language that compiles to efficient and human-readable JavaScript.

There are more. Of course, even if we use one of these transpiled languages, we should also know JavaScript to really understand what we're doing.

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp