The most important thing with beginner projects is scope. Pick MVP versions of things you want to make and build out.
Ask HN: I've learned a programming language – how do I solve problems with code?
11–20 of 112 posts
Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#12I'd also recommend attending a Startup Weekend or hackathon of some kind and just joining up with a group working on something interesting. Being around the creativity at these can the wheels turning even afterwards
Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#13What you need at this point are a series of assignments which are self-contained problems with known solutions. The assignment 'create a web server that displays "Hello World"' is an example of one.
Here are some more:
Create a web site that allows a person to identify what would be an 'affordable' mortgage. (or flip it, shows them how much they need to save each month in order to retire). These are both applications of the compound interest / annuity calculation, but built in such a way that you can pick different parameters to see the results. Pick an interest rate, or pick a home value or retirement amount.
The goal of that assignment is to have you create a web site which has a built in formula (logic) which can be manipulated by user entered data.
Next assignment, build a web site that collects data about a particular commodity that changes day to day (could be a stock price, could be oil, unemployment, could be Eve online credits, what ever), then plots that data on a graph. Allow the user to annotate the graph by date with specific events. You will find the d3 library helpful here. Once annotated allow the annotated graph to be shared by URI.
The goal of that assignment is to get you to store data over time, use third party APIs, and provide a way of getting to a particular state based on arguments in a URI.
Now for third assignment, create a market site for three commodities, we'll call them 'stone', 'wood', and 'sheep'. Have a system random number generator periodically generate one or more units of one or more commodities. Simultaneously create a Sudoko board such that the first player to solve the puzzle gets the commodities. In the Market people can buy and sell commodities, the market creates a currency for recording those transactions. Players with a specific quantity of individual commodities can produce a 'product' and that product adds to their 'production' score. Rank all players by the quantity of currency in their account and their production score.
The goal of that assignment is to create a fun market simulation game that echoes some of Settlers of Catan and gives you something fun to put into a Show HN posting.
Bottom line, practice problems. Then when you, or someone you know says, I'm trying to do this ... you can tell them you can do it or not.
Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#14Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#15Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#16write something that takes user input, stores in a database, and represents it later on.
CRUD (create read update destroy)
many webapps could be categorized as a CRUD app, or start as a CRUD app. if you've only gotten as far as "hello world" then i'd consider this a worthy "next target"
Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#17Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#18Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#19Then think of a feature or modification that you think would be useful. Try and implement it.
It's incredibly painful but I find this works better than trying to build something from 'hello world'. Before you know it, you can understand why stuff was implemented that way and what not.
Re: Ask HN: I've learned a programming language – how do I solve problems with code?
#20> A list of practical projects that anyone can solve in any programming language. These projects are divided in multiple categories, and each category has its own folder.
Feel free to also look at other people's solutions (many in JS): https://github.com/thekarangoel/Projects-Solutions