Name: Flavio Botelho
Member since: 2003-05-13 11:21:53
Last Login: 2008-05-14 20:16:13
Notes:
13 May 2008 (updated 14 May 2008 at 20:16 UTC) »
13 Dec 2007 (updated 13 Dec 2007 at 16:01 UTC) »
Be able to create function specifications that completely describes the relationship between it's input and output.
function sort
Input: List of a
Output: List of a
Relationship:
- output's list must be sorted (not enough, [] is sorted)
- every a in input must be in the output's list (not
enough, we might have duplicated elements)
in the same number as they appear in the
input's list
That would be great... Now anyone could invent yet another sorting algorithm and prove it to follow these rules.
Btw, the function signature should make the compiler check if the specification makes it really a function, not a relationship or a partial function.
People are still 'fighting' Microsoft's imperialism while the real danger now is from web companies, mainly impersonated by Google.
We need an open source license that obliges whoever changes it's code to publish it publicaly in the Internet. To certify that they will play by the book, there should be an organization to arrange for the permanent publicity of such code.
8 Mar 2007 (updated 31 Dec 2007 at 23:17 UTC) »
Hannibal's father made him and his brothers swore to destroy Rome when he was young, till his death he was still very much enraged against Rome looking for oportunities to attack it.
Neverthless Hannibal did win lots of battles against Rome and became quite famous for his daring adventure in Italy. But he never was able to doom Rome. Maybe if .... Now, Sun did win the languages battle, but was not able to deal the fatal blow with it. Is it doomed to the same fate of Hannibal, a "slow" "agonizing" (in the sense that he never realized his objectives and had all his family members killed by the Romans) death?
Now the evil empire will revive from the threats...
How long will it take for the barbarians to come?
16 Dec 2006 (updated 16 Dec 2006 at 14:43 UTC) »
Strong Types
My previous programming experience (PHP, TCL, Java, C, C++) had made me believe that Types were evil, they were there just to add more characters to be typed without any real value. The errors in all these languages (not C and C++ that done have GC, tend to have much more bugs and more complicated to find out) tend to be in places where the type system didnt help anything.
And then i learned Haskell: now i believe strong typing is FANTASTIC as long as you have a good type system! Actually i wish Haskell had even more typing facilities (there is ongoing research on that) as they help so much you to get the right code for the problem...
Even if i dont stick to Haskell (maybe there is another language with a even stronger type system?), it certainly has taught me a lot of things, a mind expanding experience...
nuncanada certified others as follows:
Others have certified nuncanada as follows:
[ Certification disabled because you're not logged in. ]
FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!