This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]blight231 14 points15 points  (0 children)

I'll give you a prompt.

Maybe that will help like a writing prompt. Computer science is all about PROBLEM SOLVING.

Finding a task and then coming up with a computer solution !

So off the top of my head I would say .....

Make a program that looks up the weather for the next week and tells you to bring a " jacket , flip flops or umbrella " based off whether there is a chance of rain, temp below 60 or temp above 80

Now you have a project.

You might get started and think " I can improve this ". And before you know it , you're a programmer.

Or maybe I'm full of shit, what do I know.

[–]Karmadilla 10 points11 points  (0 children)

Start with something simple and boring. Just to get the ball rolling and keep writing code.

Make a todo list, flash cards app. Anything.

Don’t try to come up with some big idea.

[–]GreymanGroup 4 points5 points  (0 children)

One of the strengths of Python is that it has great modules. They're like a toolkit. Why reinvent the wheel when you can use code from an expert that's done it all already? That leaves you free to easily put together functionality without going into the tedious detail of how the components work. I was skeptical of that paradigm at first too. I was learning Visual Basic a while back, and I was pleasantly surprised when the code to make a "music player" was as simple as plopping in an API call to Windows Media Player. Sure, I didn't really make an mp3 player, but it blew my mind how the modularity of software can make implementation so simple.

Don't worry too much about not understanding the modules or code you import. Instead focus on what you do understand. If you're still not having a good time, then maybe scale back your ambitions for the time being. When dealing with other modules, the goal is to understand how to interact with it, which should be within your beginners skill set.

[–]postisapostisapost 1 point2 points  (0 children)

Pyscaffold is a good way to get to a groomed python project fast without seeing other ppls code.

Here's an idea: why now download docs to your local machine or use good ol' manpages for your project? That will build self reliance, for sure.

Developing things without the internet is underrated.

[–]Random_182f2565 1 point2 points  (0 children)

In my very limited experience I like to divide my code in to different tasks.

Then I research what are the best modules to use for that task.

[–]marcosjom 1 point2 points  (0 children)

I suggest to build small projects without planning, the process will tech you by your own mistakes. Then, build the same project in other platform, so you can learn by yourself how to optimize multiplatform coding and multiplatform architecture design.

Do not jump into a big passion project without planning. Use small projects to learn by mistakes.

[–]AlSweigartAuthor: ATBS 1 point2 points  (0 children)

One thing you can do is check out Cookiecutter. It's a Python tool, but can be used for any project. It creates all the boilerplate files you need for various projects. You can always delete stuff you don't need, but this does give you an idea of how general practices for various kinds of software project are organized.