[lasagna + concepts] Inner classes hint#1826
[lasagna + concepts] Inner classes hint#1826VaiaPatta1985 wants to merge 4 commits intoexercism:mainfrom
Conversation
Updated intro of first concept exercise to include a mention of nested classes.
Update basic concepts to mention inner classes.
|
Hello. Thanks for opening a PR on Exercism 🙂 We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in. You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch. If you're interested in learning more about this auto-responder, please read this blog post. Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it. |
Added forgotten comment in code illustrating nested classes.
Added forgotten comment in code illustrating nested classes (in basics).
|
Heads-up: The PR should contain FOUR commits, not two. The other two were made after making the PR. If there's something I can do to fix this, please tell me. |
Lasagna would not readily facilitate namespaces like this, as a concept.
| Classes can contain other classes (_inner classes_): | ||
|
|
||
| ``` | ||
| # Define outer class | ||
| class Calculator | ||
| # Define inner class | ||
| class SpecialHandler | ||
| # ... | ||
| end | ||
| # ... | ||
| end | ||
| ``` |
There was a problem hiding this comment.
I am not understanding why or how the Lasgna problem introduces name spacing. The other change is good, though.
Updated lasagna intro and concepts basics to include mention of inner classes. Solves #1825
.