From infancy we begin learning our mother tongue through trial and error. Combining words and creating basic sentences, and even if we get words out of place or mess up the grammar of a sentence, we are continually learning in the process.
Most language learning programs facilitated by technology aim to teach words or grammar rules but don’t encourage this kind of experimentation with formulating your own sentences.
It would be interesting to incorporate writing into language learning. Like you are given a set of words and possibly a grammar rule or tense and asked to formulate a sentence or two using those words. Being able to quickly formulate a written sentence in a foreign language would be very helpful later in both speaking and thinking in that language.