Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sreque
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
301.
▲
by
sreque
16y ago
I respect Clojure as a language, but I'd respect the community a lot more if they didn't oversell their language and didn't trash on competing languages so often. As an example, the only time you hear Clojure mentioned in the Scala communit
302.
▲
by
sreque
16y ago
Have you looked at the source code for that project? It doesn't use callables at all. the orig_commute function, the original commute method on class Ref, gets passed a monkey-patched ruby Proc object that implements the invoke method which
303.
▲
by
sreque
16y ago
I couldn't remember the name of this troll, so I googled for "flying frog troll", and sure enough, John Harrop's name came up as the first link!! :) This guy has tried trolling Scala, Common Lisp, and who knows what else, all in the interes
304.
▲
by
sreque
16y ago
1. You either didn't see my previous post or have no useful response. 2. Sorry, let me rephrase my point here. You can reuse code, but not all code. Any code you could reuse could also be re-used in another languages using tools like GWT, p
305.
▲
by
sreque
16y ago
How in the world do callables replace closures? Closures can have arguments, callables can't. You cannot pass a ruby lambda expecting arguments to Clojure.
306.
▲
by
sreque
16y ago
1. No it's not. It's mediocre at best. See my previous post. 2. No you can't, not anymore than you can reuse Java code between client and server with GWT. The difference between a browser and a client environment is just so great. NaCl will
307.
▲
by
sreque
16y ago
Javascript's functional powers are equivalent to or worse than every other popular dynamic language in existence. Speaking of functions, I prefer not to do argument arity checking on every single function I write(I'm looking at you too, per
308.
▲
by
sreque
16y ago
Every engineer or physicist programmer I've met has been really good at taking math in their domain and converting it to code a compiler can understand, but none of them know how to design software or would be capable of writing larger-scal
309.
▲
by
sreque
16y ago
I agree. I can't even easily find out the difference between rc3 and rc2 in terms of bug fixes, etc.
310.
▲
by
sreque
16y ago
No one will argue with you that Perl isn't better than awk, if that's the bar you've set for yourself for picking a new language to learn.
311.
▲
by
sreque
16y ago
I've already head this conversation at http://news.ycombinator.com/item?id=1377077 about Moose. Moose is good, but it's not that good, and certainly not nearly enough to make up for the terrible language underpinning it.
312.
▲
by
sreque
16y ago
Not sure what you mean. In Ruby, for instance, whenever a module is mixed in a hook method on the module is called. You can enforce any safety or correctness constraints on the parent class that you want at that point. You can easily imagin
313.
▲
by
sreque
16y ago
What does Moose's mixins in role form give you over Ruby's mixins, or Scala's mixins, or PLT-Scheme's mixins, or just simulating mixins via a multiple-inheritance hierarchy ala Python or C++? I'm not going to spend a ton of time researching
314.
▲
by
sreque
16y ago
I'll trollishly bite. I just read http://search.cpan.org/~flora/Moose-1.05/lib/Moose/Manual/Co... . While it does look like a good library that I'd be interested in learning if I'm ever forced to code Perl for monies again, I don't see an
315.
▲
by
sreque
16y ago
Scala 2.8 has manifests, which reify generic types. What do you wish you could do with reified types that you can't do with manifests? Also, in Scala 2.7 I wrote my own library to wrap Java collections that didn't take much time or effort a
316.
▲
by
sreque
16y ago
At least with git vs. mercurial, I'm pretty sure there's no marketing department on either side scheming to start a war between each other to choke out the other alternatives. Similarly, both Apple and Google might welcome the press, but th
317.
▲
by
sreque
16y ago
Oh, well, that's a different problem entirely :). Although I guess it's much harder to start 1000 downloads in a browser, theoretically it's possible!
318.
▲
by
sreque
16y ago
As someone who has studied P2P, none of this make sense to me. If I remember correctly, the Bittorrent protocol tries to maintain only a handful of connections at any given time. Parallel browser downloaders are capable of opening more conn
319.
▲
by
sreque
16y ago
For creating temporary local branches, have you tried the bookmarks and localbranch extensions? Also, I am be interested to learn more about your workflow and why it is so difficult to do in Mercurial. So far, the only feature I've seen in
320.
▲
by
sreque
16y ago
Kind of like git branch -d, which, as http://www.kernel.org/pub/software/scm/git/docs/git-branch.h... states, deletes the reflog as well? If it doesn't delete the reflog, then it git world, at least, it probably isn't considered to be ful
321.
▲
by
sreque
16y ago
Most destructive commands in mercurial do create a backup first. However, some command, for which all we know, could have been written by a third party, didn't. That's why I suggest that you read the docs for a command and test it out on no
322.
▲
by
sreque
16y ago
When I run sed on a file, I don't expect it to make a backup copy of my file. Similarly, when I run rm, it doesn't create a backup of what I'm deleting. Destructive operations are, well, destructive! I'm amazed at the response I got to my p
323.
▲
by
sreque
16y ago
The author states three reasons for switching. 1. Problems with storing big files in Mercurial. You can use the bigfiles extension if you really want to manage large files with Mercurial. 2. Inefficient renames. Making renames efficient is
324.
▲
by
sreque
16y ago
As a language, I feel like Javascript decided to repeat half the mistakes Perl made and to tack on a few unique ones of its own. Supposedly the latest version, ECMAScript 3, improves on javascript a lot, but in the end I would pick Python o
325.
▲
by
sreque
16y ago
I just did a quick test of 1.9 vs rubinius on the alioth pidigits and btrees benchmarks, and rubinius was 1.5 times as slow on pidigits and twice as slow on btrees. In addition, the release notes state that they are aware that several strin
326.
▲
by
sreque
16y ago
All your repliers seem to forget that Jython exists and can be run on the app engine as well, putting Jython on par with Clojure in terms of available Java libraries.
327.
▲
by
sreque
16y ago
I never meant to imply that Perl is suitable for newbs, but rather most scripting languages are. I would much rather newbs learn another language, in fact. I changed my wording in my original post to reflect that. Also, for my background, I
328.
▲
by
sreque
16y ago
Older people use it is because they don't want to change or learn something new. Especially in a company already entrenched in Perl development, their is little benefit to switching to a better language compared to the cost of forcing peopl
329.
▲
by
sreque
16y ago
From my understanding this is always because the developers did something they know they shouldn't have, like access private unsupported features of a specific version of a Sun JVM. I've seen quite a bit of java code written and all of it c
330.
▲
by
sreque
17y ago
I really hope Scala 2.8 lives up to its potential. Having used Scala 2.7 for close to a year now during my personal time, I'm very impressed with the vision and direction of the language. However, the language and its surrounding tools are
More ›