What's the first point you write when experimenting with a new language?
I assume every person has their very own program or set of attributes past "Hello World!", that they make use of when experimenting with a new language.
Mine is a presuming video game:
I'm thinking of a number 1-10, guess what it is! Guess: 3 Nope, too low! Guess: 7 Nope, too high! Guess: 5 Yes, You win! Play again (Y/N)? N
What do you write?
- Hello World
- RSS Reader (This one generally strikes a great deal of the peaks without needing to bother with storage space or having an information resource ... feeds are almost everywhere)
- Blog Engine (Now I generate information perseverance, given that I have every little thing else down.)
Basically, I remodel the first year of CS :
- The first 40 - 50 Project Euler troubles to find out number handling.
- Some command - line energies to find out message handling.
- A program that entails a huge chart search (as an example a Klotski problem solver) to find out information taking care of and also optimization strategies (and also perhaps GUI).
- An interpreter for a language I currently recognize to find out every little thing else.
It generally goes like this:
- Hello World
- Hello [customer inputted name ]
- A couple of troubles from Project Euler
- A connected checklist
- A straightforward blog site engine (either incurable or internet - based, relying on what language)
- And from there I study a task that I intend to work with (yet uncommitted if the layout obtains mangled as I discover my means via a new language).