Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a good technique or exercise when learning a new language? [closed]

When you are learning a new language, what is there a particularly good/effective exercise to help get the hang of it? And why?

EDIT: Preferably looking for things that are more complicated that 'Hello World'.

like image 842
The.Anti.9 Avatar asked Sep 26 '08 12:09

The.Anti.9


People also ask

Is there a best technique in learning and acquiring a language?

Immersion method Widely considered one of the best ways to learn a foreign language, the immersion method involves diving into a language completely, sometimes being exposed to foreign vocabulary even before you're sure of its meaning.

What are 3 language learning strategies?

Compensatory—using context to make up for missing information in reading and writing; Affective—regulation of emotions, motivation and attitude toward learning; Social—the interaction with other learners to improve language learning and cultural understanding.

How exercise could help you learn a new language?

Learning a second language as an adult is difficult. But the process may be eased if you exercise while learning. A new study reports that working out during a language class amplifies people's ability to memorize, retain and understand new vocabulary.

What is the first thing to do when learning a new language?

When in doubt, start by studying the alphabet, basic pronunciation and phonetics, and memorizing a list of the most common words and verbs. Most languages have roughly 100 or so words that make up the bulk of what you'll encounter in day-to-day conversation.


2 Answers

I usually do the following (in the order presented):

  1. Print a pyramid with height provided by the user (checks basic I/O, conditionals and loops)
  2. Write a class hierarchy with polymorphism etc... (checks OO concepts)
  3. Convert decimals to roman numerals (checks enums and basic data structures)
  4. Write a linkedlist implementation (checks memory allocation/deallocation)
  5. Write clones of JUnit and JMock (checks refelction/metaprogramming)
  6. Write a console based chat system (checks basic networking)
  7. Modify (6) to support group chat via multicasting (checks advanced networking)
  8. Write a GUI for (7) (checks GUI library)

After that its on to a real project...

like image 57
Garth Gilmour Avatar answered Oct 21 '22 02:10

Garth Gilmour


other than hello world, I try to port one of the existing programs to the new languange. this will challenge me to learn some good old techniques in the new language and help me build a new library of classes or helpers..

like image 39
Gulzar Nazim Avatar answered Oct 21 '22 01:10

Gulzar Nazim