Friday, October 14, 2011

Static Typing

I ran across this post today, and it summed up nicely why I like Static languages, and why, even if you have to type some more in cases like Java, it's well worth it.

Yet Scala has type inference - so its typically as concise as Ruby/Groovy but that everything has static types. This is a good thing; it makes code comprehension, navigation & documentation much simpler. Any token/method/symbol you can click on to navigate to the actual implementation code & documentation. No wacky monkey patching involved, or doubting of who added a method, when and how - which is great for large projects with lots of folks working on the same code over long periods of time. Scala seems to hit the perfect sweet spot between the consise feel of a dynamic language, while actually being completely statically typed. So I never have to remember the magic methods that are available - or run a script in a shell then inspect the object to see what it really looks like - the IDE/compiler just knows while you edit.
James Strachan -
http://macstrac.blogspot.com/2009/04/scala-as-long-term-replacement-for.html

Thursday, October 13, 2011

Lifehacker filtering disagreeing posts?

So let's start out, is the following Spam? Is it hard to note?

OK, your economics are slightly off. You're saying don't count time for biking, but count it for driving, that's BS. If you aren't going to start your own company or do something productive in those times, then you're not saving it.

I think you're right to make people make sure they know the reasons they are commuting. I choose to live 5 minutes from family and commute 45 minutes, it's super important to us. My wife does things with our family during the week that makes it useful, things that wouldn't be possible if we were close to work. So it may be worth 50 grand or a bit more to live close to work, but it's not 400 Grand unless you have a second job. The one point you absolutely make that I agree is all that driving does add up. A huge reason I got a Jetta TDI over a Cadillac was the cost of Gas, and I drove a Toyota Corolla for 5 years before that, before I decided I wanted something quieter (It really sounded like a tin can).

One more point, I worked 5 miles from h
ome twice, I still needed 15 minutes to get to work because of stop lights, parking and such. So I'm not losing the full 45 minutes like you said, and if I biked there's other benefits, but again I wouldn't be saving time.

You ride your bike to save money because you enjoy it, you need to balance the cost of your commute with what you replace it with. But you need to know the REAL number, not some imaginary my time is worth X to sit in front of the TV because I'm too worn out from the job after 5:40 PM. I can, however, listen to an interesting talk for 45 minutes while cruising down my two lane highway through the country, and be a little less fried when I get home for dinner.
That's what I posted into a lifehacker.com article. Maybe I'm being hasty, but I don't think so. It's marked as spam, and it'll probably stay like that. It makes you wonder though, are disagreeable posts allowed on LifeHacker? It didn't seem like it was from the comments. Maybe it's the length, but getrichslowly.org encourages it. I don't troll getrichslowly.org comments that much, but I do read them and people make great alternative points, or add to the case. The point of comments is to encourage discussion, if you're going to one side them, then just remove them. But being scared of alternative opinions ticks me off, especially from Liberals who cry we should be more open, that's not what they really mean I guess.