[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

When learning a programming language for the first time, is it

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 37
Thread images: 1

File: 1485904006289.png (5KB, 257x196px) Image search: [Google]
1485904006289.png
5KB, 257x196px
When learning a programming language for the first time, is it normal to forget a bunch of syntax aside from the main stuff?
>>
>>61108882
No. The stuff you remember is trivial, i.e. it "goes without saying" that you know it, while the stuff you tend to forget is important. Try harder or fail.
>>
>>61108902
Fuck. I have a shitty memory
>>
>>61108882
Maybe the first time, but this is only because you aren't reinforcing that knowledge through practice.

Timed recall methods like the pomodoro method will let you memorize arbitrary information even if you never practice it again.
>>
>>61108911
>>61108882
Practice more. Reading isn't enough.
>>
>>61108946
I'm using codecademy, so I'm not only reading the course.
>>61108939
>pomodoro method
Thanks, I'll try that out.
>>
>>61108966
codecademy only works if you already know how to program, because it only teaches you syntax.
>>
>>61108989
What's a better way to learn to program?
>>
>>61108994
What are you trying to learn?
>>
>>61109014
Ruby.
>>
>>61109022
Ruby is deprecated.
>>
>>61108882
>is it normal to forget a bunch of syntax
only if you program brainfuck or malbolge
>>
>>61108882
Yes. Syntax is arbitrary nonsense that is different in every language, often for no reason. Every pro codes with documentation open.
>>
>>61109032
How so?
I heard it was a good first language. It's not like I can't learn anything else afterwards.
>>
>>61108994
Learn algorithm theory, software design, compiler theory, digital systems design, and then play with code until it makes sense.
>>
>>61109091
>Every pro
If by "pro" you mean codemonkey or webdev, then yes. Real programmers learn how to write code.
>>
>>61109129
I see. Is K&R a good start?
>>61109151
What separates real programmers from code monkeys?
>>
>>61109170
K&R assumes you already know how to program.

Take any beginner book in any language and just learn to program first.
I highly recommend Programming in C by Kochan.
Syntax and language-specific paradigms can be learned later.
>>
>>61108882
Yes its normal. Don't listen to people here, they're either fucking around, elitists, or autistic.

You end up memorizing a ton of stuff just through practice but while learning you're gonna forget plenty of syntax. Luckily its easy to look up. This happens less and less as time goes on.

I would say the reason a lot of people don't get into programming is because when reading about it they feel overwhelmed and incapable of remembering what they're reading through. This is not an issue though. Just code. No matter how you do it just code and learn. No need to overthink it.
>>
>>61109183
Ok, thank you. I had also been pondering whether to participate in one of those intensive programming courses (for free), are they useless?
>>
>>61109188
>just code and learn
Some would say that this creates bad habits/a lack of deeper understanding, though, right?
>>
>>61109306
Sure but expecting someone to start learning a new skill without doing that some is just delusional.

I'm not saying he shouldn't get to the point you guys are talking about but starting off like that is just setting yourself up to fail.
>>
>>61109340
You truly learn a new skill by acquiring a solid and deep understanding of its underlying components.
>>
>>61109081
>he forgets 8 commands
t.brainlet
>>
>>61109442
But that only comes years after doing it. You don't start with the finer points of any skill, you start out rough and refine later.

>>61109306
Some would but they're wrong. Watch uncle bob on youtube and work on small problems and side projects in your language of choice. Ruby is a good first language.

>>61109151
>Real programmers learn how to write code.
Yes, and they still do it with the docs open.
>>
>>61109491
Are you saying C isn't a good first language?
>>
>>61109590
No, because it is.
>>
X86-64 assembly
>>
>>61109590
>>61109839
Honestly though there's no bad first programming language, among those that are still widely used today at least. Just learn whichever one you want/need.
>>
>>61109868
except for BASIC
>>
>>61109931
A lot of great programmers started with basic
>>
>>61108882
Syntax is shit, learn how to write effective programs that are understandable for everyone
>>
Not OP but what are the pros/cons of Ruby vs. Python as a first language?
I see lots of people recommending Python but not many recommending Ruby or Perl even though they're scripting languages and OO too.
>>
>>61108882
>aside from the main stuff
Yes. If you have a language with more 50 keywords/operators and some are used once in your life that happens.
>>
>>61111772
bump
>>
>>61109032
Go away slob. You have wana fight!!
>>
>>61111772
The "First Language" thing is dumb. You can learn anything the first time. And even the more advanced features of these "beginner languages" are going to be scary and difficult for newbies.

Python is recommended because a solid case was built for it on wrong principles on discussion forums where people ask the question "What language should I start with?" To worry about habits you might pick up is dumb because every beginner has really bad habits and style until he's been doing it for many years.

The pros of both are that you'll be programming in either Python or Ruby. The cons are that you won't be programming in C, C++, Java, Perl, etc. But don't worry, you can fix that soon.
Thread posts: 37
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.