Home

Distributed LJ - content technical

  • Aug. 10th, 2007 at 6:38 PM
nerd boy
So I've been thinking about how to make the internet at large more like LJ. You know, control your own content, while keeping the good bits- friend and FOAF capabilities. Break out of the walled garden and all that.
Anyone can blog on their own site with wordpress or the like, or on a hosted service, but what LJ has is friends lists. It's a good selling point, which would be worth prying out of their control.

This is an attempt at a protocol, with no implementation imposed. My recent experience with web programming has informed it, but any successful protocol will have multiple implementations in multiple languages. Also I'll keep it very simple – no web services or soap, just XML over http.

Read more... )

Coding: multiple function exit points

  • Apr. 7th, 2006 at 9:45 AM
Deadwood hat

Public int IsThisSoBad(int param)
{
   If (param == 0)
     Return 0;

  .... more code ... 
}



Yesterday I finally got an idea as to why some people seem to think that it's a "law" that a function should have only one exit point (one return statement, if you're in Java/C#/etc). It happened in This discussion on The Daily WTF

Read more )

Profile

Deadwood hat
[info]strawberryfrog
strawberryfrog

Latest Month

November 2009
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Syndicate

RSS Atom
Powered by LiveJournal.com