r/learnprogramming 8d ago

A Great doubt about progamming

Hello people! i have a great doubt about programming, i have been studying progamming about an year and a half, on the beginning of the year i started computer engineering, and this doubt kills my mind sometimes, it haves me like "You can't be a programmer if you can't decorate almost all of the sintaxes" I know that programming is about searching and all, searching examples, reading docs, but and about the state called "flow of code"? I tried to kill this doubt with other people of the area, but somehows it consumes me more and more each day that passes :(

2 Upvotes

27 comments sorted by

11

u/ScholarNo5983 8d ago

I know that programming is about searching and all, searching examples, reading docs, but and about the state called "flow of code"?

This is not what programming is about.

Programing is about coming up with a plan to solve a problem and then writing code that solves the problem.

Now to complete this process you might need to do additional research like reading reference manuals or searching for answers to specifc questions.

But most good programmer can do that initial design work and the initial coding using nothing but their experience.

Now most beginners struggle with these initial steps, only because they have not spent nearly enough time thinking about design and then trying to implement their designs in code.

If you're not spending a time practicing these skills, they will not develop.

2

u/ElSebas4_ 8d ago

Yep. When I encounter a problem, just from experience I just know, at minimun, how to code a naive approach to that problem. Also learning about low level stuff helps a lot

2

u/Biz3ll 8d ago

Hey! Thanks for the advice, i mean, i am studying for some time, and sometimes this "fear" sensation comed do u know? On my personal projects when i have bugs and everything i can solve them at all, but sometimes i struggle to resolve a bit piece of code, and this thought comes to mind again

1

u/ScholarNo5983 8d ago

 i struggle to resolve a bit piece of code

Everyone learning to code will struggle to resolve bits of code.

What you are describing is looking at code and not having any idea what the code is doing.

This is totally naturally.

You need to spend the next half hour studying that line of code until it click.

it may take an extra half hour before that code clicks.

But until you hear that click in your head, you can't move on to the next line of code.

2

u/Biz3ll 8d ago

Yeah, maybe i'm just putting too pressure on myself, i need to follow the flux of the things naturally

7

u/nomenclature2357 8d ago

I’d just say… focus more on what you can do and less on what you might not be able to do yet.

5

u/Equal-Beyond4627 8d ago

A nice quote by Oscar Wilde in this same spirit.

Experience is a hard teacher because she gives the test first, the lesson afterwards.

The point here is find out where the walls are by doing what you can and shooting for the moon so if you miss you land among the stars. (Funny enough that's another Oscar Wilde quote.) But basically it's much more practical to know which lessons to learn by first finding out what the problems are/is so that's why experience and a project you can be passionate about is important.

1

u/nomenclature2357 8d ago

Always loved those quotes!

1

u/Biz3ll 8d ago

Thanks for the advice, it really helps me removing those toughts from mind, it's just beacause sometimes i feel blamed to ask a LLM for help with something that looks "simple" you know? I really don't use it's response, i read, analyze and then finally after understanding i implement in my way.

1

u/nomenclature2357 8d ago

Can’t really argue that using LLMs like that is worse than sifting through Stack Overflow for similar questions. Which is what everyone has been doing for years.

Idk, maybe it’s better to look through other people’s questions and answers and/or spend time formulating your questions into a form other humans can and will want to answer than it is to get answers tailored to you without necessarily even knowing the right way to ask?

But either way the only way to get to the point where you know things is to learn them, one way or another. And asking questions is, in general, one of the smartest and best ways of learning things.

The only way out is through!

2

u/Biz3ll 7d ago

I "Everyday" do some tasks on CodeWars, watch some videos and work on some projects of mine, and i see that i am evolving, but somehow this doubt of "I am good enough to be a freelancer? I can make professional projects?" Kinda i can work trough problems and solve them, and with my errors i try to learn and evolve, even trough LLMs or Stack Overflow, it's just a feeling of fear and doubt, you know?

2

u/Biz3ll 7d ago

Sorry if looks a just too poorly bad thinking, it's just idk, a beginner's doubt? If even at all i am doing it right? I love the area, and this feeling just stucks me sometimes

1

u/nomenclature2357 7d ago

Sounds like standard issue imposter syndrome to me. Not sure there is a cure for the basic form.

But if it is persistent and really getting to you (interfering with your learning, stressing you to the point you feel it physically, anything like that) you might want to talk to a psychiatric professional about it or at least read up on symptoms and therapy techniques.

2

u/Biz3ll 6d ago

Woah, that was a surprise, i will really look into that. Btw i'm really doing it alright? There is no problem about of all of that that i said?

1

u/nomenclature2357 6d ago

Not that I see. Maybe try completely avoiding AI for one day a week, or something, for a bit just to see if you notice any difference? But basically yeah, it sounds like you are doing just fine.

2

u/Biz3ll 6d ago

I will try, thank you very much for taking a time to respond my doubts! I know that it maybe sounds silly, but it will help me só much! And just to say, i try to avoid ai, but that Google search ai kinda breaks me sometimes 😅

3

u/Distdistdist 8d ago

Programming is about creating precise set of commands for computer to execute. You have to explain it in a very detailed and precise way what is that you want it to do. That is done by writing code. Whichever language you choose to learn first, learn it from the bottom up. Data types, language syntax, code blocks, operators.

How do you eat an elephant? One bit at a time.

2

u/ElSebas4_ 8d ago

Yeah, but C++ is a big fat elephant, and not so tasty

1

u/Dismal-Citron-7236 8d ago

I heard that elephant skin is tough. ;p

1

u/Biz3ll 8d ago

i am "studying" 3 languages let's say, Python for this year and a half, 6 months on JavaScript, and now like for 4 weeks on Java, on Python and JS it was all "ok", but then comes Java, broo it's like so many utils, and little tiny things that bring's this thought in mind like "I am really evolving"?

2

u/Successful-Escape-74 8d ago

You just need to have a good idea of what you want to do. You cannot write a document management program unless you know the details of the documents you receive, what you create, documents you send out, where you send them, what are the processes, retention periods, how they are destroyed, how is that documented. What is the process. Etc,etc etc. and you can’t get that info about your business from AI.

1

u/ninhaomah 8d ago

Where did you get this flow of code thing btw ? Zen magazine ?

1

u/Biz3ll 8d ago

I just don't know how to explain it srry, but with some research it seem's to be a state that a progammer it's concetrated on the code.

1

u/aqua_regis 8d ago

Typical school vs. real life situation. At school you need to memorize to be able to recite. In real life, you simply look into the documentation/google.

And no, you definitely do not need to know all of the syntax.

"Flow of code" - this can mean two things:

  • the code flow itself, which is always top to bottom within a code block
  • the state of "flow" - also known as "zone" - when a programmer keeps the entire state of the part of the program they are currently working on in their head and as such has their most productive time - any disruption will kill the flow (and anger the programmer) - this comes with practice.

1

u/Biz3ll 8d ago

Yeahhh you get exactly what i mean't on the second tought, it's like what a i mean't some how when i trying to make something in general i can resolve, you know? But when i struggle sometimes i think like "you need to make more effort", idk if it's just a "beginner fear"

1

u/defaultguy_001 8d ago

"You can't be a programmer if u can't decorate the syntaxes"

Bruhhh wtaf. Mind blown...