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

Deprecate unless in Elixir 1.18 #1528

Open
angelikatyborska opened this issue Oct 5, 2024 · 2 comments · Fixed by #1539
Open

Deprecate unless in Elixir 1.18 #1528

angelikatyborska opened this issue Oct 5, 2024 · 2 comments · Fixed by #1539

Comments

@angelikatyborska
Copy link
Member

In Elixir 1.18, unless is being soft-deprecated. We should remove it from our syllabus and from a few of the example solutions.

@jiegillet
Copy link
Contributor

jiegillet commented Oct 6, 2024

Sounds good.

We also have an analyzer rule about avoiding unless with else. I suppose we won't need it once 1.18 is out, but until then I guess we should leave it.

@jiegillet jiegillet self-assigned this Dec 9, 2024
jiegillet added a commit that referenced this issue Dec 9, 2024
* remove mention of unless in docs-type files

* do not use unless in example solutions

* Update exercises/concept/name-badge/.docs/hints.md

Co-authored-by: Angelika Cathor <[email protected]>

---------

Co-authored-by: Angelika Cathor <[email protected]>
@jiegillet
Copy link
Contributor

jiegillet commented Dec 9, 2024

Reopening the issue, because some of the links will need to be updated when 1.18 comes out:

The link checker probably won't help us catching these link changes, since the changes are in the hash part.

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

Successfully merging a pull request may close this issue.

2 participants