-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
Update to Go 1.18 #2129
Comments
Instead of other languages, I'm used to use the latest Go version for years. I'm sure students will do so and wondering, when it doesn't work. See this forum post: https://forum.exercism.org/t/go-use-of-a-deprecated-function-in-an-exercise/6163 Any reason not directly go up-to-date? |
We do try to run the lastest major on our infrastructure, so that students can use more recent versions of Go, provided they also update their The main reason we don't update all the Even with the auto-update feature, one still needs to update the local copy of the exercises manually (or with a special script), and "forcing" people to do this every 6 months seems a bit too much, especially if they are not very active on the track. One possible solution is to consider having There is some evidence that most people do use the latest version of Go, or the one before that, but that's true for people who use Go a lot, which might no be reflective of all the users in Exercism. They might install Go to try a few exercises, play around a bit, but then leave it and come back later in a few months. When they come back, they might necessarily not want to update Go and/or all the exercises in the track to get the new But of course, we don't want to get too behind, so it's always a fine balance. Even if you use the most recent version of Go, the compiler will warn if you are trying to use a feature that your |
Go 1.18 is a very anticipated release of the language due to the inclusion of generics, among other things. We should update the tooling of the Go track to support solutions using Go 1.18.
This is a tracking issue for the updates to the track tooling:
Other than the updates to the individual tools, here in the main repo we should evaluate some exercises to be updated to use generics. Here's some of them that I think would be a natural fit for generics:
Keep
functions that are exactly the same except for its types.There might be other cases where generics can be used but these exercises are the ones I think generics will fit more naturally.
I also think it shouldn't be our intent to use as much generics as possible, so I also see as a possibility intentionally not using generics in some of these exercises, just for the sake of keeping their difficulty down and keep them accessible for someone totally new to the language.
The text was updated successfully, but these errors were encountered: