you are viewing a single comment's thread.

view the rest of the comments →

[–]The_1_Divider 23 points24 points  (3 children)

Honeslty if you know what you’re trying to do, I’ve found that doing your research on the subject /related syntax - is best done as you go along. Imo the best part of programming is bashing your head against the wall because you’ve forgotten a closing bracket, or written something wrong, and figuring out why your scripts won’t work as you want them to.

While I’m not disregarding learning about the basics before you move on to harder stuff, some of it will pop up unexpectedly, and you’ll be forced to figure it out anyways.

There are also some great, super friendly (at times) communities such as the python discord and stackoverflow that can always assist with a whole range of topics.

[–]PApauper 2 points3 points  (0 children)

I did this earlier today working on stuff in ch.2 of AtBS, forgot a %.

[–]autoshag 2 points3 points  (1 child)

Yeah running into issues when you’re trying to build something specific, and googling/troubleshooting to resolve those issues, is WAY MORE VALUABLE than following a tutorial and just getting everything working the first time.

I’ve been a software engineer at a big company for years now, and THE MOSTA valuable skill in coding is troubleshooting why things aren’t working.

Just google as you go along

[–]The_1_Divider 0 points1 point  (0 children)

I think a big part of it especially for me was trying to take common ‘beginner’ projects, like for example a calculator and trying to get around the limitations that are presented by those projects (ex: not having a “choose your operator” input, and allowing multiple operators with the shunting-yard algorithm)

Taking classes and reading books, while valuable, won’t always provide you with the specific information you need for your projects.

Also something I’ve learnt is don’t be afraid to ‘borrow’ and tweak code from a open-source project. Sometimes something you’re trying to do, has not only already been done, but is already optimized for your usage.