top | item 38889635

HN how do I learn to code?

3 points| Void_Kitty | 2 years ago

I was recently dismissed from my uni where I was planning on studying compsci (mostly had to do with my very bad grades from the semester I tried to major in mechanical engineering but I degress). My hope is to contribute to the FOSS ecosystem as a developer, but as it stands I have very little experience programming. I feel I have a rather strong conceptual understanding of how computers work, but I still don't know how to talk to them. As school is no longer an option, I am unsure how to proceed. I currently am hoping to learn c and to use it to write a utility for managing multiple ttys with simultaneously different DEs and WMs on a linux system but I feel this project is too ambitious for my novice self. Are there any projects or advice y'all have, any would be greatly appreciated. Anyway regardless I hope you are doing well :)

11 comments

order

beardyw|2 years ago

Yes, building something is key. But you would do better to build something easy well than something complex and fail.

Void_Kitty|2 years ago

Any recommendations for a easy project?

brudgers|2 years ago

My hope is to contribute to the FOSS ecosystem as a developer

This is too vague to be worthwhile as a course of action.

write a utility for managing multiple ttys with simultaneously different DEs and WMs on a linux system

This is a concrete goal.

I currently am hoping to learn c and to use it to

This is an excuse for not executing on the concrete goal.

Start writing the tool in Javascript, C#, Python, Racket whatever is easiest to execute in...and they are each and all hard because programming is hard.

Because starting to write code is how you learn to write code.

And the simplest way to contribute to a FOSS project is to write some code yourself and make it FOSS.

Good luck.

shrimp_emoji|2 years ago

I would start with Python (or maybe Java) and then graduate to C. And, if you ever mess with C++, don't let it fool you that it's an easy/beginner language; it's actually the hardest and deepest language of them all, masquerading as a shallow pond. ;p