Good style in Lojban: Difference between revisions

From Lojban
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
* Don't repeat yourself<ref>https://en.wikipedia.org/wiki/Don't_repeat_yourself</ref>. Every piece of knowledge must have a single, unambiguous, authoritative representation within a discourse.
==Don't repeat yourself<ref>https://en.wikipedia.org/wiki/Don't_repeat_yourself</ref>==
Every piece of knowledge must have a single, unambiguous, authoritative representation within a discourse. Don't copy fragments of your discourse. Instead try to go to higher levels of abstraction to avoid that. Instead of
{{mu|mi do prami .ije do mi prami|I love you, and you love me.}}
say
{{mu|mi do se xi vei pa je re prami|I love you, and vice versa.}}
 
This allows for more tricky examples to be expressed using the same algorithm:
{{mu|mi do se xi vei pa jonai re prami|Either I love you, or you love me, but not both.}}
etc.
 
==Links==
==Links==
*https://en.wikipedia.org/wiki/The_Pragmatic_Programmer
*https://en.wikipedia.org/wiki/The_Pragmatic_Programmer
Line 5: Line 14:
*http://blog.codinghorror.com/a-pragmatic-quick-reference/
*http://blog.codinghorror.com/a-pragmatic-quick-reference/
*http://programmer.97things.oreilly.com/wiki/index.php/97_Things_Every_Programmer_Should_Know
*http://programmer.97things.oreilly.com/wiki/index.php/97_Things_Every_Programmer_Should_Know
==References==
<references/>

Revision as of 11:53, 12 July 2014

Don't repeat yourself[1]

Every piece of knowledge must have a single, unambiguous, authoritative representation within a discourse. Don't copy fragments of your discourse. Instead try to go to higher levels of abstraction to avoid that. Instead of

mi do prami .ije do mi prami
I love you, and you love me.

say

mi do se xi vei pa je re prami
I love you, and vice versa.

This allows for more tricky examples to be expressed using the same algorithm:

mi do se xi vei pa jonai re prami
Either I love you, or you love me, but not both.

etc.

Links

References