Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

i wonder apart from those very simple hello world apps, what other programs should i try developing for learning. i am entering uni next year and wonder what kind of programs will be developed in that environment.

this is not really a language specific thing, but if you want to know what i use currently mainly

  • windows: C#/WPF - i studied java/vb etc in poly but i think C# is the way to go, maybe even F#
  • web: PHP/MySQL, Zend Framework/Doctrine, + HTML/CSS/JS(jQuery) of course. looking to try google app engine with python too.

for now, i am thinking of

  • todo lists
  • apps that integrate with api eg. twitter/tumblr which i use
  • text editor - i am currently trying to develop a text editor that uses markdown and generates html files for viewing (link to blog entry). not very pratical after i started developing it. cos when editing theres no formatting and in HTML format, i cannot edit directly

  • blog software (for web)

share

locked by World Engineer Sep 10 '13 at 19:24

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as not constructive by Mark Trapp Oct 6 '11 at 1:13

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

comments disabled on deleted / locked posts

9 Answers

up vote 18 down vote accepted

Have a look at Project Euler. There's nothing else like it for sharpening your foundational programming skills.

share
2  
+1. The advantage of Project Euler is that you can implement the solutions in any language, and then compare/contrast them. –  Thomas Owens Sep 11 '10 at 11:56
1  
+1 - Great answer! You have opened a gym for our brains. –  Karthik Sreenivasan Jan 21 '12 at 4:38
add comment

(This is mostly a mata answer, rather than a project list.)

Think about why you are writing the program: Will it be useful in its own right, or is it purely to learn an aspect of a tool/API/language?

In the latter case there is a benefit to the resulting program being as short as possible, and then just kept for reference.

In the former case why not extend the learning to good practice in all respects: assume you will need to maintain and extend it. Therefore use source control, issue tracking, refactoring, unit testing, ... as all of these things are at least as important for a developer as knowing another API.


How about a feed integrator:

  • RSS/Atom sources
  • Handle twitter using its API (and do link un-shortening)
  • Based on source allow pluggable post processing (e.g. downloading mp3s from a podcast feed)

(The idea is to focus on integrating different implementations of the same paradigm: scheduled HTTP get of an RSS feed vs. Twitter API vs. ... all of which are underneath a stream of entries with time stamp, source and content.

share
    
thanks. i think this is along the lines of what i am thinking, integrate with web services. also i am thinking abt apps different apps that use different features of the language. eg. with the text editor, i tried to integrate wpf ribbon –  Jiew Meng Sep 9 '10 at 14:18
add comment

I'm currently writing a regex parser/matcher and its teaching me a huge amount about parsing and finite state machines and regular expressions themselves, among other things. The reason I particularly think a regex parser is useful is because the regex language is small, and is fairly limited in what it can do.

Another thing I did was to write an interpreter for Ook!, which is a simple task, but once again, teaches you a ton.

share
    
+1 SC Kleene wasn't the inventor of regex for no reason at all. –  ixtmixilix Oct 20 '10 at 0:45
add comment

CodePlex.com lists many open source projects that were made using C#. You could take a look at the site to get some ideas.

share
add comment

Develop a cookbook application.

share
add comment

You can also look at TopCoder. This site has great algorithms to learn and they conduct competition from time to time. The important advantage of this site is that you can see others source code for a particular problem and can learn more.

And even on the SE sites, you have to look at CodeGolf.

share
add comment

I learned a lot working on this-kind of my hobby projects:

  • Simple games (Snake clone, Tic Tac Toe clone, etc.)
  • Screen-savers

Not to mention - those kind of projects are incredibly fun to work :-).

share
add comment

Program a small game: it's fun and you learn a lot.

Some ideas:

  • Minesweeper
  • Tetris
  • A card game
  • Snake

And when it's done why not implement a highscore website...

share
add comment

Spyrograph. Specify dimensions of an outer ring, an inner disc, and pen point along its diameter. Plot the path of the pen as the inner disc rolls along the inside of the outer ring.

Change Maker. Input Cost and Amount given to teller. Calculate the optimal for teller to make change. There's a slow way and a fast way to solve this. Find the fast way.

OO-Life Simulation. Look up Life Algorithm. Make random starting state and output subsequent steps, using OO design to decouple logic from presentation. Give text output and graphical output.

Missionary/Cannibals Solver, Look up this famous puzzle. Write a program to solve it using search trees. Compare BFS to DFS.

share
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.