question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows & Scala 3 UX - consistency

See original GitHub issue

Hi all!

Just noticed Scala 3 is now officially on the scala-lang.org website - that’s absolutely fantastic! I would like to share some of my findings from a Windows user’s point of view, that could be smoother.

My suggestion

For Windows users, at the Download page, give only 1 choice, which is the “Scala Installer” (don’t confuse them with SBT, and Coursier – they probably heard of Scala only 5 minutes ago!). If anything, they could also be offered an offline installer with a small link below (which includes all the dependencies). Once the “Scala Installer” (Coursier) installs everything, it opens an HTML page with instructions how to use Scala.

image

HTML (edited rapidly, so 🦅 )

<div class="install-steps">


<div class="download-options">
  <div class="download-left">
    
    <a href="https://git.io/coursier-cli-windows-exe" class="btn-download">
      <i class="fa fa-download"></i>
      <span>Download the Scala installer (.exe, 64-bit)</span>
    </a>
    <div class="text-variant" style="text-align:center">
      <p style="font-style:italic">Do you need an offline installer? <a>Download here (59MB)</a>.</p>
<p>The Scala Installer will install Scala as well as various utilities like SBT, Coursier, scalafmt, the Ammonite REPL, all of which you can use from PowerShell or cmd. <u>Batteries included</u>.</p>
      
    </div>
  </div>
  
</div>
</div>

Current UX & Explanation

First, the download instructions on the homepage point to the Coursier & SBT websites. image

You may then choose to do a quick set-up with Coursier, however for Windows users to enter commands like ‘bitsadmin’, is very unusual; people rarely ever do this on Windows. image (also the Windows instruction here is below the fold so you take a bit of time to find it; I include some examples of how Python and Nodejs do it below).

There is another page, getting started, which instead has a link to the Coursier binary. Windows shows it may be unsafe - is there any way to fix this? image

This could be ‘the’ installer, and after installing you should get greeted with a message how to proceed. In fact, after running it myself, I was very pleased that everything I needed was installed, which is absolutely fantastic.

Let’s look at Python: When you go to the Python website, and try to download, it gives you a .exe, which you then open, image

And then it gives you an installer (I already have it installed). image

Node.js: image

(this one I also have installed 😁 ) image

There could be a segment of the market who might jump off at this point because this is their first point of touch with Scala, especially if coming for example from .NET which has all-inclusive GUI installers and similar.

While many people in the Scala community use Mac we could definitely do better with smoother support for Windows, especially considering inclusivity; many potential members of the Scala community might come from countries where a Mac costs several months of salary, and normally use the OS that came with their PC, Windows; however they might drop off early despite all the amazing efforts done by the Scala community. Python’s start-up UX is great and I believe is a huge contributor to its popularity.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
OlivierBlanvillaincommented, May 21, 2021

I’m not sure this issue belong to this repository, maybe it should be moved to https://github.com/scala/scala-lang ?

0reactions
julienrfcommented, Apr 8, 2022

Thank you @odersky for bringing this to my attention. I will move it to the repository scala/docs.scala-lang.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows & Scala 3 UX - consistency · Issue #1248 - GitHub
Hi all! Just noticed Scala 3 is now officially on the scala-lang.org website - that's absolutely fantastic! I would like to share some...
Read more >
Next steps in further improving community experience after the ...
Continuing on the discussion here: scala/contributors - Gitter , I open this thread to discuss how we can improve newcomer community ...
Read more >
Speed, Consistency, and Scalability: The 3 Pillars of Design ...
We can summarize the advantages of a company-wide design system into three categories: Consistency; Scalability; Speed. Consistency, Scalability ...
Read more >
Road to Scala 3: Release Candidate Available - InfoQ
Further improve the consistency and expressiveness of Scala's language constructs. Scala 3 offers support to ease the migration from version 2.
Read more >
Scala 3
consolidate language constructs to improve the language's consistency, safety, ergonomics, and performance. In this documentation you will find information on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found