Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Club 33, here we come!
I'm in LA and my producer friend gave me this detailed list of places to go: http://yfrog.com/3gxt5j
I'm in LA and my producer friend gave me this detailed list of places to go: http://yfrog.com/3gxt5j
LACMA is overwhelming. They also let you rent art pretty affordably which is super cool.
In LA. Our producer friend gave us this very detailed exploration itinerary: http://yfrog.com/1yva2j
In LA. Our producer friend gave us this very detailed exploration itinerary: http://yfrog.com/1yva2j
Happy birthday @marissac!
Off to LA!
Today: Submit new version to App Store, urgently buy bday presents, take meetings I'm not prepared for, drive to LA. Should be fun!
Academia vs business: http://imgs.xkcd.com/comics... (via @freyfogle)
@juliaallison Agree with @marissac that Puerta Vallerta sucks. Cabo sounds more appealing.
Where have the J2ME developers gone? http://www.gaborcselle.com/blog...
A Quick Observation about Mobile Apps - http://www.gaborcselle.com/blog...
What an amazing day.
Ok, I got 6 of 7 todo items done. The 7th one should be done in the next hour (it's a 1-off bug, should be easy). Happy with results.
Just bought an Android phone!
@joshuabaer @iMichi @disco1000 Thanks guys! I have 1h 45 mins left :-)
"Outlook? Hey, the nineties just called, and they want their email back." - http://www.gaborcselle.com/blog...
I wrote down my todo list. It has 7 items. I will go easiest -> hardest. I will get it all done today.
One Feature of Go that Every Programming Language Needs to Have - http://www.gaborcselle.com/blog...
Named return parameters are awesome, but it still doesn't eliminate the need for reference parameters. - Gabe
There are two things here: multiple return and named return. You can have multiple return and de-structuring assignment without named return, e.g. foo() { return (a,b); } x,y = foo(); Many languages implement this. Some go further with and allow de-structuring assignments, like this swap operation: [a, b] = [b,a]. One thing that concerns me about this named return value stuff is that it... more... - Ray Cromwell
I love multiple return values, but the named return values seems a bit dodgy. In the example on your page, it looks nice, but I agree with Ray about the implications in a longer function. - Joey Gibson
The problem with unnamed return values is that you don't know what order to put them in. How do you know if the GetNames function is supposed to be "return firstname, lastname" or "return lastname, firstname"? The solution is to name them so you can have "return {firstname=f, lastname=l}" and not have to worry that you got the order wrong. - Gabe
That's a reasonable point, but then I would say that you shouldn't just have a 'naked return', but rather something like the syntax you wrote. Of course, it works both ways -- you could get the method parameters in the wrong order as well, so named parameters would help fix that. :) - Ray Cromwell
Gabe - do you mean that if say "firstname, lastname = GetNames()" it will return "Robert, Felty", and if I say "lastname, firstname = GetNames()" it will return "Felty, Robert"? - Robert Felty
Rob: Maybe something like "with GetNames() { fn, ln = .firstname, .lastname }" - Gabe
That makes sense Gabe. What languages currently have a "with"? - Robert Felty
The "with" statement goes back many decades. Pascal and similar languages (like Modula) have one, but it's more like Javascript's let statement. JS has a with statement, but it's almost too pointless to use. VB's with statement was the one I was approximating, and is probably the best syntax for one. Ada has a with statement, but it's for importing packages, so it's nothing like in the other languages I described. - Gabe
Hm, Pascal's "with" works exacly like JS's one, AFAIR. - Alex Kapranoff
Alex, it seems you are right. It's been decades since I've used Pascal, and misremembered. - Gabe
Also, Python's with statement (new for 2.6) is actually more like C#'s using. Actually, C# has a few different ways of using "using". One way is to import a package into your namespace, like Ada's with statement. Another way is to declare a variable to be initialized at the beginning of a block and make sure it is destroyed at the end of the block, like Python's with statement. - Gabe
3 cupcakes is all that's left from last night's party
RT @marissac: Still partying it up for my birthday @Gabor's place in soma.
@joshuabaer entertaining and amazing effects. Writing so so. I'd still see it
Looking forward to @marissac's bday party at my place tonight. Lots of prepping to be done though.
@ljmecca I already forgot what the bet was about ...
Wrangling with UI code. Wishing I had some coffee.
Going to see 2012 at the Metreon at 8:15!
OH "Why would I want to switch from iPhone to Droid? How am I supposed to play Sally's Spa on a Droid?"
Hanging with my posse, drinking my Chivas, purveying some rap.
@csallen We don't preannounce things but reMail gets better every day :-) (see last part of http://www.remail.com/blog...)
Other ways to read this feed:Feed readerFacebook