r/AskProgramming • u/Jamaicanptty9 • May 25 '26
Career/Edu Where do I start with programming and coding language?
I know nothing about coding or anything of the sort to be honest. But since I am trying to write about someone working in that field, where do I start? Should I keep it simple or should I go all out with terms etc?
1
Upvotes
2
u/nawanamaskarasana May 25 '26
Read/learn theory, syntax etc. Get down and dirty with examples, coding is not a spectator sport.
2
u/protestor May 25 '26
You mean you're writing a novel about programming or something?
Here's a formative book in my learning. It's free to read on the web (if you are near an university, they may have it in their library). Read it cover to cover: https://poignant.guide/ (and here is it in PDF https://upload.wikimedia.org/wikipedia/commons/4/4b/Why%27s_%28Poignant%29_guide_to_Ruby.pdf)
And here is a more advanced book, by which I mean, it's nerdier. It's also a much more important book in all measures. If you are in a hurry, skip the previous and jump straight in to this one. It's also free to read on the web: https://sarabander.github.io/sicp/html/ (here is a PDF too https://web.mit.edu/6.001/6.037/sicp.pdf). This one is very hard to not find in an university library too if you ever have access.
It also happens to have the best introduction for a technical book, ever:
Apart from books, you need some environment where you can run programs. I suggest keeping everything on the web at first.
If you follow the first book, you need a Ruby interpreter. Here is one: https://try.ruby-lang.org/ (type programs in the place where you can type things, and click run)
If you follow the second book, you need a Scheme interpreter. Here is one: https://try.scheme.org/ (type programs, and press enter)
Those two sites have their own tutorials, and you can follow them if you want, but I suggest you follow the book instead. Write programs you find in the book on the interpreter, and run.
Don't copy paste code from a place to another, but try to write yourself. Physically writing each part of the program helps to gain familiarity.
If you ever thought about using AI to learn this stuff, don't. Or if you do, use the AI to ask questions, to research stuff, for help with installing developer tools like interpreters (if you wish to program in your own computer rather than a website). But don't ask AI to write a program for you. If AI writes the program, you will never learn this stuff.
(after you learned programming, it's okay to relegate some coding tasks to LLM agents, but at this point you will not do this in a website - you will install some IDE like https://code.visualstudio.com/ on your computer, install the toolchain of your language like interpreters or compilers, and program in your own computer. If you don't know what those words are, then stick with the websites I first linked for now)
1
u/not_perfect_yet May 25 '26
Just look at some free courses online, it takes like a weekend to learn. It's not complicated. Once it clicks, it's all just dialects of the same thing. The principles are the important thing, not how long you need to write something.
Language doesn't matter.
1
u/marrsd Jun 12 '26
You should learn a bit of programming and get a sense of what it's like to write software. It can be quite an emotional experience in the sense that you can go from despair to elation in the space of a few minutes...and then back to despair again!
Different programmers have different styles, and view and approach it in different ways, so you should try and get a sense of what kind of programmers there are, and what kind your character is going to be.
Paul Graham's essay, On Hackers and Painters, gives one insight into the practice. For other programmers, it's a more technical exercise.
Since you're a writer, you might want to explore the linguistic qualities of programming a little more deeply. Someone else mentioned SICP. That's going to be a challenge if you're coming to programming from nowhere, but you should get a sense of how programming can be the art of writing languages.
3
u/Proud-Track1590 May 25 '26
Can not recommend CS50x enough!
1
u/slammers00 May 25 '26
I'd suggest as a start Programmers At Workreading from some of the great programmers (Simonyi, Gates, Lampson, Ozzie, Page, Hawley) in their own words describe how they think about programming, come up with ideas, and approach coding and systems design. You can also look at sample code from them. Their personal stories and insights are like oil in your machine . I would really like to know what you think about it if you do read it. The specifics may not be the same, but their approaches are timeless and maybe super relevant to vibe coding. You can read excerpts from their interviews here. . I'm gonna build on this site with reflections from these guys and also am interviewing some folks working today and will post later. If you have ideas about who you'd like to hear from, let me know. Thanks
1
u/Rscc10 May 25 '26
To be honest, you won't be able to encapsulate the field without extensive studying and more importantly, practice. Unless you're willing to spend a few months properly learning programming, you can't quite get a realistic depiction in your writing. Studying the theory of programming will not give you as much insight as actually programming something, whether it be simple or complex. Much like how an average person could yap about the theory and general concept of being an engineer or doctor but can't accurately describe their struggles or experience.
If you are willing to study programming then there are plenty of online sources. I recommend w3schools. If you want to start simple, python is often the most beginner friendly. I would not recommend studying C like others have said if you aren't particularly serious about programming (if this is just for writing/documenting sake).
1
u/Cdream-2018 May 25 '26
Vb.net was awesome for me
0
u/BeginningEmployer575 May 25 '26
Learn C, not just the syntax(rules to write code), but the working of the compiler(tool to translate your code to machine language) and all stuff like that
1
u/[deleted] May 26 '26
[removed] — view removed comment
1
u/[deleted] May 25 '26
[removed] — view removed comment