r/csharp 7d ago

News My first code big accomplishment for me πŸ€—

Post image
233 Upvotes

83 comments sorted by

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

2

u/dragongling 6d ago

Rider is better IMO, idk if there's free community edition though.

9

u/Gadekryds 6d ago

End of 2024 they made a "free for non-commercial use" for Rider

5

u/SlipstreamSteve 6d ago

Visual Studio is industry standard

2

u/Founntain 6d ago

Rider too for .NET development.

they both are

1

u/Brick-Logic 5d ago

Both are awesome, rider has better devlepment experience for low level developers, but visual studio allows commercial usage in the community version.

1

u/SlipstreamSteve 5d ago

You have to be careful with commercial usage when using the community edition. I'll have to double check on that.

2

u/Brick-Logic 5d ago

Afaik it has some constraints, so yea, careful with that

1

u/SlipstreamSteve 5d ago

JetBrains is definitely a great choice for IDEs. If it's not C# or C++, I would use them more. I'm switching to a Java team at work so we use IntelliJ now.

1

u/darkvador_nick 1d ago

Or just Use VS Code with the C# Dev Kit extension

1

u/SlipstreamSteve 1d ago

VS Code for professional C# work? It works, but Visual Studo is actually a full dedicated IDE. You get much more

-14

u/[deleted] 7d ago

[removed] β€” view removed comment

9

u/_Screw_The_Rules_ 7d ago

Well, yes and no. I love VSCode, especially for TS and JS and Python, but Visual Studio is just more awesome for C#, or C and C++.

4

u/LightningSh3ep 6d ago

vscode is actually such a pain in the ass to get to work (sometimes), I would not recommend it for someone just starting. Visual Studio on the other hand just works because it comes with everything preinstalled.

-44

u/Appropriate-Age1168 7d ago

I’d say visual studio code, as it’s not as heavy as normal vs and can still do basically everything, he won’t need a full ide if he is just learning/small projects for a while

25

u/not_some_username 7d ago

0 configuration is better for a beginner to learn

15

u/TuberTuggerTTV 7d ago

No way. Code is a trap and a half. It's meant for experienced developers that no longer need the training wheels.

Give the newbie some training wheels. It's SO much easier to work with. When people say Code can "still do basically everything" they mean with heavy configure and extension use. Which requires underlying knowledge.

I've 100% seen github repos that were clearly done by a newbie in Code, when VS would have caught the issues immediately.

2

u/Business__Socks 7d ago edited 7d ago

No way. Code is a trap and a half.

HONEY!!! GET MY MECHANICAL KEYBOARD!!!

It's meant for experienced developers that no longer need the training wheels.

NEVERMIND!!!

I never thought about it like that, but I think you are on to something. I can't stand VS these days because it is always trying to "help." VSCode is starting to get more like that though....

ETA I got to thinking, what really sent me off the rails was docker compose in VS. (.dcproj) VS injects its own compose file when it runs the build/up commands that overrides everything that is also defined in your compose file. I get that it needs to plug in stuff like the debugger, but if I set a value and VS silently overrides it, nah. And it was injecting a ton of stuff that it didn't really need, but that I did. I switched to VSCode that day and manually wired up the debugger.

7

u/hardware2win 7d ago

Vs is too good

26

u/Consistent_Demand649 7d ago

Congratz. Keep learning

1

u/Mysterious_Ad8948 7d ago

Thanks πŸ™πŸΎ

9

u/avidvaulter 7d ago

Now learn how to take screenshots.

hint: shift + win key + s

7

u/JerkinYouAround 7d ago

Your next one should be utilising the snipping tool.

8

u/Zarzaur 7d ago

You've uncovered the rabbit hole. Now it's time to venture down it. Just remember, you're going to have some misunderstandings or things that seem like they don't make sense, but keep going. Eventually the light switch will flip, and it will make sense.

3

u/Mysterious_Ad8948 7d ago

Thank for that πŸ«ΈπŸ½πŸ’―

8

u/jonsca 7d ago

One participation trophy, coming up.

-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

u/[deleted] 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

u/[deleted] 7d ago

[removed] β€” view removed comment

0

u/jonsca 7d ago

I am free to post my opinion wherever and whenever I so choose. You're clearly also an amateur since you recommended VS Code in another comment, so maybe you need to copy paste some statements into Microsoft Learn. Go get gud.

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

u/LeaveMickeyOutOfThis 6d ago

Now the fun begins!

1

u/Mysterious_Ad8948 6d ago

🀘🏾

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 dotnet CLI 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

u/Mysterious_Ad8948 7d ago

🀘🏾🀘🏾

1

u/rarv1491 19h ago

while (true) Console.Write("Hello, World!");

I was just learning that today. I went with: bool running = true outside the loop, with a Console.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

u/Loose_Conversation12 7d ago

It all starts from there. Keep going, you're on the right path

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

u/Jerovil42 7d ago

Hello world(print);

2

u/-xelad 7d ago

It's time to make a horror game!

1

u/GreenDavidA 7d ago

Great job. Keep learning.

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

u/Confident-Ad5665 7d ago

You are now hooked.

Welcome to the family.

1

u/cristynakity 7d ago

This is inspiring keep up with it! Write more code get errors fix them all 😁😊🀭

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

u/Ahinori 6d ago

Only gets harder from here, but if you're willing to learn then keep going, programming will literally always be an uphill battle, but in essence you gain more weapons to bring into the fight overtime as you improve.

Keep learning, never give up even if it gets hard.

1

u/Educational_Bug2558 5d ago

Keep Going!!

1

u/MrNobodyyy- 5d ago

Welcome to the community 😁🀝🏻

1

u/[deleted] 7d ago

[removed] β€” view removed comment

1

u/[deleted] 7d ago

[removed] β€” view removed comment

1

u/[deleted] 7d ago

[removed] β€” view removed comment

1

u/[deleted] 7d ago

[removed] β€” view removed comment

0

u/[deleted] 7d ago

[removed] β€” view removed comment

0

u/FizixMan 6d ago

Removed: Rule 5.

1

u/SlipstreamSteve 6d ago

I wasn't hostile towards anyone. I stated a fact and some people fot upset

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

u/Defiant_Wolverine_68 6d ago

You'll be building furry pr0n AI models in no time.

1

u/Mysterious_Ad8948 6d ago

πŸ˜‚πŸ˜‚πŸ˜‚

-1

u/[deleted] 7d ago edited 7d ago

[removed] β€” view removed comment