2,683 karma · joined Jun 23, 2011 (15y ago) · 778 submissions
comment 12y ago · link · parent
Contrast this with the gay marriage debate. There is no conflict. Gay marriage does not affect its opponents in any capacity. A married gay couple does not infringe on anybody else's right to be married. Opposition to gay marriage is completely arbitrary and rooted in discrimination in all cases, there just isn't any reason why one should care, and even less of a reason why the government should take that judgement into consideration. Any religious, traditional, or cultural opposition to gay marriage is completely moot since marriage is not even real thing, it's simply a legal status with the same name as a historical tradition.
comment 12y ago · link · parent
comment 12y ago · link · parent
HAML is so dead simple that if it takes your engineer more than a day to grok it, you have to admit that they're probably not yet cut out for anything but a junior role. HAML has zero debugging overhead because it's not a programming language; it's just not that hard, period. HAML does add an extra step to the build process, but who cares? It's trivial. In a world where CI and single command deploys are commonplace, the idea that an extra build step would prohibit the use of any developer tool seems absurd. It reminds me of people who argue against unit tests because "ugh, just another tool to learn", or "I end up writing more code in tests than actual code, I just want to ship". God forbid you actually have to learn something. While we're at it, please avoid the use of languages that compile to machine code because who the hell wants to deal with a linker in their build process?
Now, although I'm a huge CoffeeScript fan, CoffeeScript is an entirely different beast, and requires a deep understanding of JavaScript to use correctly. I can understand not wanting to devote time to teaching engineers about the finer nuances of CoffeeScript, especially if they aren't that experienced with JavaScript to begin with. In an ideal world, they'd pick up CoffeeScript as quickly as HAML since in my experience, CoffeeScript creates very readable code, especially when the script makes heavy use of anonymous functions, sadly, it's not always that simple. However, CoffeeScript debugging is a non-issue for an experienced JavaScript developer, CoffeeScript produces excellent JavaScript code that is easily understood. Individuals who like to minimize context changes can use sourcemaps.
Finally, dependencies for both tools are pretty trivial. I'm not sure how the author has managed to introduce 100 different gems into his project in order to support these tools, but it's certainly not a requirement.
https://github.com/haml/haml/blob/master/Gemfile
That's like 4 gems for HAML. CoffeeScript is often distributed as a binary, so zero gems required in that scenario. All in all, I'd say the author's case against these tools is pretty weak.
comment 12y ago · link · parent
comment 12y ago · link · parent
Don't we? I guess it varies depending on the neighborhood, but there are more guns in the U.S. than cell phones, and it's not just the government that's armed to the teeth, it's everyone from your local mugger to your local teenager (and I'm not just talking about school shooters, I'm talking about adults under 20 who legally hold as well as the range of kids illegally blasting themselves and others in the streets).
This is all to say, I agree with the parent; you can't close Pandora's box. Mass surveillance is quickly becoming too cheap not to be inevitable, not to mention that most people voluntarily crowdsource the surveillance behemoth by uploading their entire lives to facebook and passing everything else into google. One might argue that mass surveillance is already here, if it's a true dystopia remains to be seen.
comment 12y ago · link · parent
http://www.google.com/doodles/50th-anniversary-of-jfks-inaug...
http://www.google.com/doodles/50th-anniversary-of-the-i-have...
http://www.google.com/doodles/south-african-freedom-day-2013
http://www.google.com/doodles/election-day-us
http://www.google.com/doodles/international-womens-day-2005
http://www.google.com/doodles/sopa-pipa
Anyway, I use DDG from time to time, I like it but the results aren't always the best in my experience. More power to you, I hope DDG works well for you, your comments in this thread just seem pretty disingenuous.
comment 12y ago · link · parent
"lots of magic" and "difficult to trace compared to x" sound a lot more reasonable than claiming AngularJS is an abomination, so I'll address those claims instead. Yes, magic in programming can be dangerous, but keep in mind that magic always has a logical explanation. In this case, the magic turns out to be a pretty mundane case of metaprogramming. If a developer can't understand how it might be possible to pattern match parameter identifiers in JavaScript, then I think AngularJS DI is the least of their worries.
Maybe you are some sort of Angular savant who agrees with all the assumptions the authors made.
I'll take that as a compliment, but I'm just a regular guy who has pushed a few medium sized angular apps into production. I definitely don't agree with all of angular's design decisions, but I don't have to agree with everything to use the framework effectively.
In the early days of Django the had a magic removal branch for this very reason; people who do not understand the framework will find it harder to learn.
Contrast that anecdote with Rails, a framework that has very successfully embraced the power of magic from the start to create what is arguably the most influential web framework of the last decade. It's an opinionated approach, but not inherently wrong.
of course we abstract things but you should use the simplest possible abstraction for the job. Angular is not that.
The simplest solution isn't always the best solution, if that were the case we wouldn't be discussing client side scripting in any capacity.
comment 12y ago · link · parent
This doesn't make sense to me. AngularJS is the underlying code that is happening. Angular is a framework, not a language, it's just JavaScript and really quite simple once you wrap your head around the role of the injector, services, and service providers (whereas everyone seems to pick up modules, controllers and directives pretty quickly).
As we all know, abstractions leak, please avoid and use one of the many other libraries that people can actually follow through and debug without having to learn Angular first.
Abstractions leak, please avoid and use one of the many other libraries that also make heavy use of abstractions, the foundation of modern computing.
comment 12y ago · link · parent
Not really. Matching the identifier is simply an optional convenience for the developer, the "dependency injection" refers to the mechanism that allows you to configure, mock, or replace the "function parameter" before the framework injects it into scope.
comment 12y ago · link · parent
haha, great prose.
+1 for relative line numbers. I scripted up ctr+n so I can toggle between relative and absolute as needed, though, there are even plugins capable of intelligently switching when necessary (like http://www.vim.org/scripts/script.php?script_id=4212).
comment 12y ago · link · parent
This is FUD. CoffeeScript is JavaScript, and if you come into CoffeeScript thinking it works like ruby just because it looks like ruby then you're in for a rude awakening.
Personally, I'm a fan of CoffeeScript's streamlined syntax compared to JavaScript.
For example:
describe 'when the universe exists', ->
it 'should be active', ->
expect(universe.active).toBe true
vs describe('when the universe exists', function(){
it('should be active', function(){
expect(universe.active).toBe(true);
});
});
It's no surprise that newcomers are sometimes inclined towards CoffeeScript since one the biggest obstacles for a budding javascript programmer is the seemingly incomprehensible labyrinth of brackets, parenthesis and semicolons (not to mention the confusion that ASI adds to the picture) that one must endure to grok the language. Of course, it's not really that hard to understand, but CoffeeScript filters out a lot of "syntax" making it easier for a newcomer to tackle the meat of the application. Less is more.comment 12y ago · link · parent
I read your comment and understand that you're not saying the two terms are equal, rather, you're trying to demonstrate that it is not unusual for someone outside of the persecuted group to be offended by words intended to offend members of the persecuted group. Yet, were I the type to take offense, I might find it quite offensive that you used what is widely considered the most offensive word in the English language to make a hyperbolic and inapt analogy.
The word 'nigger' is a pejorative racial slur intended to wound when it is used, whereas the word 'bro' is commonly associated with friendship and brotherhood. And douchebag frat guys.
comment 12y ago · link · parent
And dozens more.
I think you've come to the wrong conclusion. Doge might be a funny name, but the crypto is real and so is its trade value against bitcoin. What we're seeing here is that Satoshi's idea is so valuable that it empowers a community to arbitrarily construct a functioning decentralized financial platform, even as a joke.
We're just touching the surface of what cryptocoins are going to mean in the future.
comment 12y ago · link · parent
I have had the exact opposite experience with the Go community. In particular, I've found community hubs like #go-nuts and the mailing list to be professional at worst and friendly at best, and always helpful.
some of the pretentious designs of Go itself.
How can a design be pretentious? Either you favor the design or you don't, but calling it pretentious is simply projecting your own emotions onto the language.