905 karma · joined August 16, 2013
If you're comparing the two you have way more flexibility than you should because these are two widely divergent tools with different implications reaching beyond "easier" or "faster." I don't think people ought to even consider scala if they're considering "easy" as being a significant factor.
Scala enjoys type safety and compilation and a vast and deep sophisticated feature set, not the very least of which is inherited from the proven and storied java libraries. Node.js is a mess of shit heaped on the turd that is script-kiddy npm-land covered with int-less and unicode unsafe JavaScript.
It's your responsibility as a writer to be honest. Why is it your job to make a post enticing? If being honest with the title of your post isn't enticing then I'm afraid your article isn't interesting and lying about its contents are not the right solution. And your title is not honest. Change everything? Are you kidding me?
> headlines have evolved over the years because writers have figured out what is more effective
You make it sound like you've no responsibility for your actions. Hey it's out of your hands, other writers have figured this out and you must follow. And all you have to show for it is a flagged post and at least in my case a big minus in my opinion for ride joy. You come across as a bit too much self-promoting. Reviews for your book also mention humble-brags, so it's not a stretch. Personally I put integrity above fleeting success, but your milage may vary.
That's the worst kind of link bait title. A type lambasted and ridiculed here, xkcd and everywhere else. HN should have some kind of smart filter to just auto flag these kinds of submissions.
Edit: And it's flagged off the home page. Good riddance. Maybe be a little bit less silly with your headline next time jason.
I don't think there's a single correct thing about anything in this sentence, it's also a little bit conspiracy crazed.
There's an entire branch of social science that spends a lot of time on marketing, sociology. I recommend reading up on it from an academic perspective. Marketing is very influential but it isn't mind control. I'd say it shapes expectations more than create demand for particular products. And from an anthropological perspective I'd say marketing actually reveals more about a culture than it creates.
Hrm, Jake and the Neverland Pirates fan? My daughter likes izzy and I saw an izzy costume on Halloween. Pirates are getting popular.
I'd just put any kind of application, whether built in Scala, node.js or Go or ruby on rails behind a nginx proxy and use that for setting the headers. That simplifies a lot of things. I hope your HTTP headers aren't really so dynamic that you need to build software that changes them so much, especially not for a RESTful application.
What I like about alt-coins is how one can use that for games. Imagine making a game where a custom alt-coin, a bitcoin-fork coin that has no value outside of the game, used for transactions. Seems like a cool idea to me anyway.
Personally, and I'm sure the downvotes will keep flying in, I think it's completely reckless to ride a bike in dense traffic, surrounded by people who are on their smartphones and driving too fast, but you can feel all self-entitled to the road because the law just happens to be on your side (but not the infrastructure - not many bike lanes), but maybe instead ride on less busy roads or just don't ride at all.
I give bikers a lot of space, and everything that is required for them to be safe, but though I will never do anything less, I have learned to resent it. So many people riding their bikes just seem oblivious to their surroundings and make bad decisions and simply get in the way not caring. Then you come and post on the internet about how bad drivers are. I wish it was safer for people to ride bikes. I wish bike riding were a great thing where there were many lanes available, and everything was happy and safe, but it's not. So maybe just stop riding your bike, or ride on a less crazy road.
Then when you get into the process after talking to the recruiter for a few minutes it turns into a completely other kind of experience, somehow suddenly you're supposed to feel grateful for this opportunity to interview at Google, and it's time to go through the attrition gauntlet, try not to feel self-entitled like you deserve to work at Google.
Like maybe just be upfront about the expectations, because the disconnect from recruiter first contacts "you are the best please let us talk to you" to "oh shit you want work here? Yeah good luck with that." is really annoying and I stopped the whole process before ever talking to anyone.
And I like technical interviews, because I like the challenge. But not with Google.
Smartphone use in a vehicle is a problem, so I agree with the gist, but this part about you riding a bike is completely irrelevant to the point you made. But maybe you want some kind of cookie for being so respectful of the environment and conscientious enough to ride a bike on a regular basis. So I just wanted to take this moment and thank you for riding your bike. You're a good person. You should tell more people that you are a bicycle commuter so you can get more people to thank you for your service to the world.
Oh missed that.
> This is an issue no matter what language you use.
It's a lot bigger issue when you have to define classes for each type of possible response.
> except for null/undefined,
That's not a small issue.
Not only do JSON responses for API's vary a great deal from request to request, some handle errors without HTTP response code's. So the JSON you get back can be very different then you might expect otherwise.
At best you could build something like HipChat or Olark using IRC as a backbone and hide all the complexity of it from the end user and maybe then you have a chance.
Finally, less people are using IRC all the time. If you look at channels that have been around a long time, they've got less users than they used to.
Scala requires much more work to learn than Go. I don't think I ever ventured out much from the offical Go documentation, the spec and effective Go and the library documentation to learn Go. With Scala I've already bought 3 books, and have bookmarked nearly 100 sites. I frequently have very many tabs opened with various scaladocs, examples and stackoverflow questions open.
My favorite thing in Scala is Akka. I quite like Akka and I like the functional programming that's possible with Scala. The build tools, like sbt require getting used to but I'm able to pretty much get along just fine without an IDE. I do have intellij open but I hardly look at it. I do all coding in vim and testing with sbt.
About 14 days in and I can connect to TCP and parse JSON ok. That's where I'm at. There have been some pretty frustrating moments, mostly dealing with 3rd party libraries (like scalaz, not documented much) and sbt, but once overcome it feels rewarding.
My other favorite things in scala: it has a REPL, s"String $interpolation" and pattern matching.