|
|
On 12-Sep-08 16:35, scott wrote:
>> How to translate from the concept in your mind to a working program.
>
> I didn't get the impression that is what Andy was complaining about,
> after all he says he can program in Java, so converting from concept to
> C shouldn't be very different from converting from concept to Java. I
> assume he can also program POV SDL, and has dabbled in BASIC etc.
Yes indeed, and if you look at what he writes about C it is not that he
has problems with imperative languages in general but with this one for
particular reasons.
> If you'd only ever programmed in Haskell or some other functional
> language, then sure I can see how you might have a hard time writing
> some C even if you knew all the commands and syntax.
>
>> That you can use a word processor and have a plot in mind does not
>> necessary imply that you can write a good story. Especially if the
>> story has to be written in a language that doesn't fit your
>> preferences. Exercise: rewrite your reply in Dutch. Hint: we use for
>> all practical purposes the same alphabet.
>
> Sure, teach me all the words you use and any grammar rules and it
> shouldn't be too hard.
>
For fun I tried babelfish:
Ik werkelijk begrijp niet waarom u het zo vindt hard om C. te leren. Er
is slechts een uiterst klein aantal kernverklaringen (als als, terwijl,
terugkeer enz.) en de syntaxis van hen allen is zeer gelijkaardig. Hoe
te om functies te schrijven moet u enkel leren, maar dat is het zelfde
voor om het even welke taal. Schrijven van wiskundige formules is ook
zeer gemakkelijk en gelijkaardig aan bijna elke andere taal die (+ -/*
enz. gebruikt). Als u geavanceerder wilt worden, dan leer om series te
behandelen en welke & en * (vrij gemakkelijke dingen zich te herinneren,
niet bij allen complex), en u bent vrij veel plaatst om 99.999% van de
code van C - met inbegrip van dingen als daar te begrijpen terwijl (*v++
= *s++); Wat is het probleem?
Even after adjusting the grammar (Ik begrijp werkelijk niet waarom u het
zo hard/moeilijk vindt om C. te leren...) it will still be on the edge
of comprehensible and not something any Dutchman would write (though I
really do like the kernverklaringen, we really should introduce that in
the language). Language is much more than syntax and grammar. Which was
the point I wanted to make in the first place.
Post a reply to this message
|
|