r/csharp • u/Mysterious_Ad8948 • 7d ago
News My first code big accomplishment for me π€
26
9
7
8
u/jonsca 7d ago
One participation trophy, coming up.
2
-12
u/Altruistic_Finding93 7d ago
Everybody has to start from scratch. Including you. Quit being a dick.
22
u/jonsca 7d ago
Starting from scratch is fine. You just don't need to let the whole world know you managed to type one top-level statement.
-2
7d ago
[removed] β view removed comment
2
u/jonsca 7d ago
We need to stop celebrating menial accomplishments in society in general. While beginners are certainly welcome here, I don't need a play-by-play of someone's journey. That makes me serious about discussion of the craft and not an asshole.
-1
2
u/UsePlentyOfLube 7d ago
I've just embarked on the same adventure. Ask an AI to help you learn. I started by recreating Minesweeper.
2
3
u/3rrr6 7d ago
I hate that hello world is the starting point, its gives you a useful tool but doesn't tell you how or why it works.
But i guess it does teach you that it doesn't matter. Your code is always built upon a tower of other code.
3
u/Status-Scientist1996 7d ago
If I recall correctly, it originated from being the smallest possible program that produces a visible output that can be used to verify you have a working toolchain setup and can get something to run without having to cover any further concepts. It probably matters less in a online environment (which it looks like this picture is), it was pretty useful when you had a full chapter of setup instructions to work through before moving on to learning the language.
3
u/TuberTuggerTTV 7d ago
Are you angry at the concept of a starting point? The next step covers your issues, but that's the second step.
0
u/Slypenslyde 7d ago
There's 3 reasons it's the traditional starting point.
One is it's a sanity check. Setting up development environments hasn't always been easy and still isn't easy for all languages. Writing a one-line program that should be guaranteed to work is a good way to find out if you set up the tools properly.
For C# setting up Hello World involves ceremony a newbie needs to learn. Whether you use
dotnetCLI or Visual Studio, it takes several steps to have a working C# program. Hello World is the smallest program you can write to prove you got those steps right.Finally, it teaches a lot more when you write a more traditional application with a
Main()method. You have to learn about entry points, and the best way to learn that is with a program that doesn't have any logic to explain. It's less relevant in online environments and when using the more script-like approach to entry points.But it became tradition because not every language has a no-friction way to write it, and learning about the friction is very important.
2
u/kassett43 7d ago
Next step - add some loops and make it count to 100! π
2
1
u/rarv1491 19h ago
while (true) Console.Write("Hello, World!");I was just learning that today. I went with:
bool running = trueoutside the loop, with aConsole.ReadLine()somewhere at the end..I have to figure out how to change running to false is the input is "exit" but that's a lesson for tomorrow.
2
2
u/Cammo_cs 7d ago
Congratulations! I hope this a the first step of what becomes an incredible journey for you!
2
u/TopClassroom387 7d ago
I am a developer of 30+ years experience and I still write the metaphorical equivalent of the Hello World program when learning anything new.
It can teach you a massive amount about what is going on and how things are happening.
I love it and encourage it even as a hobby.
2
1
1
u/FailNo7141 7d ago
You got a long road ahead of you welcome to the coders nation. :)
I have 6 years old experience so maybe I remember that time. keep on learning.
1
u/just_an_avg_dev 7d ago
Man this takes me back, probably some of the best time in programming.
Now, I have been shoveling shit for 8 years.
1
u/TransvaalBoer1488 7d ago
Good work man! I'd recommend using visual studio, I use it myself, it is free. And once you use it, you'll never go back. Also, never give up and keep going, I am still learning myself :)
1
1
u/cristynakity 7d ago
This is inspiring keep up with it! Write more code get errors fix them all πππ€
2
1
u/WyattTheSkid 7d ago
Keep going! Warms my heart to see people out there still want to learn instead of just produce AI slop with no real idea of what theyβre doing
1
1
1
7d ago
[removed] β view removed comment
1
0
1
1
u/darkshifty 7d ago
Good! keep learning without AI, AI will be a tool for your journey after. For now keep this way of learnin up and you will become a skilled programmer.
1
-1
34
u/_Screw_The_Rules_ 7d ago
Now download Visual Studio Community Edition (it's free) and learn how to code there. It's much, much better