-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
New developers can learn .NET by building, running and debugging Simple Apps #5473
Comments
I'd love to see some consideration of error messages as part of this effort. Compiler errors are scary for new developers. Even things that you think should be intuitive like "Not all code paths return a value" are overwhelming for someone just starting out writing methods. Compiler errors are naturally a bit scary and part of how they're presented in Visual Studio pushes that new developer mindset into panic mode, which makes them less able to reason about the error. I'd love to see some form of wording improvements alongside some actual plain text description of common errors such as casting issues, using a variable that's been defined but not initialized, array index out of bounds, not all code paths returning a value, incorrect return type from a method, etc. In an ideal world I'd be able to see a small two paragraph beginner friendly explanation in Visual Studio with an image of bad code (code not returning a value, for example) and fixed code to illustrate the type of the error it was. Not something specific to the user's code, just some less terrifying stuff to help new developers be less terrified of what they're encountering and less intimidated by output built for expert users. |
I love this proposal and I hope it makes it for .NET 6! One thing to add: as described, Simple Apps seem like they will also be popular for scripting purposes and ad-hoc coding. The potential audience is much broader than just “developers who are learning .NET.” I could see myself using a Simple App in CI pipelines, to replace Python/Bash/PowerShell scripts. Similarly, I could see myself using a Simple App for one-off exploratory development (instead of creating yet another console app with a csproj). |
Related: dotnet/sdk#12328 |
Bulk closing .NET 6 epics and user stories. If you think this issue was closed in error, please reopen the issue and update it accordingly. |
Summary
Simple Apps are .NET apps with the following properties:
A Simple App is a starting point for developers who are learning .NET. As their app's capabilities grow, they can do things like add a project file to support their development needs.
User Stories
User Stories under this Epic:
The text was updated successfully, but these errors were encountered: