Arnold's Workshop

User login

Navigation

Browse archives

« February 2012  
Su Mo Tu We Th Fr Sa
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Syndicate

Syndicate content

I'm using

Who's online

There are currently 0 users and 4 guests online.

Links

Get FireFox 2 Now!

Writing a book Vs Writing a code

I'm wondering, who is the one saying that writing book is easier and who is on the other side.

Okay, if I were asked, I would answer writing a code is easier than writing a book. Why? Technically speaking, we can see from the rule of writing. A code, usually is composed of words that are arranged by certain rule. In compiler, we call it grammar. Likely, words in a book of course have to be well arranged so that everybody can understand it. Hence, a book has a grammar too. However, Grammar used to write a book is somehow so ambiguous that not everyone has the same meaning on it. Even worse, a book can be quite cryptic. Not for a code composed of a context free grammar. Everyone will have the same meaning on every single line of code. Once we fully understand the grammar, we can write any code that is unambiguous.

Sometime, I know what is my idea, but I don't know how to express my idea in written form. Hahah, I guess practice makes perfect. Probably writing a book has more available style than writing a code.

How about you?

 

Reply

Just type the word. e.g. for hello, type hello
The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Restrict text by wrapping in [restrict:roles=<comma separated roles>] and [/restrict]
  • Textual smileys will be replaced with graphical ones.
More information about formatting options