[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: OT: translatios (was Re: Teach programming with LUA?)
- From: André de Leiradella <leiradella@...>
- Date: Tue, 23 Nov 2004 22:21:08 -0300
> Oops, I opened a can of worms... :-)
Looks like...
My second and last message about this OT thread: many computer science
courses in Brazil teach algorithms very early in the course, before
trying to teach a real programming language (Pascal, C etc.)
The algorithms are tought in plain Portuguese, using Portuguese words
for all language constructs (we use to call that "portugol"):
<portugol>
A <- 5
B <- 7
Leia C
D <- B^2 - 4*A*C
Se D < 0 Então
Escreva "Sem raízes reais"
Saia
Fim-se
</portugol>
I'm currently trying to decide between translating Lua keywords to
Portuguese or preprocessing the algorithm to produce Lua code with
keywords in English. I like the second option better, because there are
some portugol constructs that are not so obvious to write in Lua.
If there are other algorithm teachers in the list, I'd love to hear what
you currently use in your classes, I though things like "portugol"
existed for every language (italigol, fraçagol etc.)...
Please answer me privatly.
Andre de Leiradella