Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sreque
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
271.
▲
by
sreque
16y ago
I like Steve's PL posts a lot, but I don't understand why he has to hate on static type systems so much. I appreciate and use both dynamic and static languages all the time, and both have their own respective strengths and weaknesses. There
272.
▲
by
sreque
16y ago
Then we don't have anything to argue about. I agree that modern Perl is a lot better than older perl, and that modules that fix perl, like perl5i, Coro, and Moose, enable you to write decent code using the language. I never tried to say oth
273.
▲
by
sreque
16y ago
You're right about the Python comment, and I edited it out. However, I would also say that you've provided no discussion of value in your comments. I at least back up my statements with correct supporting arguments, even if I sometimes use
274.
▲
by
sreque
16y ago
Steve may not be a medical doctor, but he is a programming language expert, so I really don't get your ad hominem refutation of what he said about Perl. Perhaps you can comment on what he actually said, not who he is? Also, I think you miss
275.
▲
by
sreque
16y ago
Not having to deal with copious amounts of accidental complexity needlessly introduced by the language? Just look at the example on the o'reilly page for the Perl Best Practices book which is linked to by this article. In Perl, there's more
276.
▲
by
sreque
16y ago
I think the Scheme and Racket communities would take issue with your claim that lisp-2 languages are more suitable for writing macros than their respective languages :)
277.
▲
by
sreque
16y ago
I actually have very similar thoughts on clojure versus racket. I admire both languges for different reasons, but if I were to pick one to get the job done it would be Clojure. I cry every time I see the idiomatic construct in any Scheme of
278.
▲
by
sreque
16y ago
I like getting the best of both worlds. Most IDEs have a vi plugin of varying quality. Netbean's vi plugin has worked excellently for me in the past ( http://jvi.sourceforge.net/ ). I've heard Intellij's is also pretty good. I've found the
279.
▲
by
sreque
16y ago
No need to pick on poor python here :). With the pysistence library, you can write code that mirrors other solutions presented in this thread: reduce(lambda d, c: d.using( {c:d.get(c, 0)+1}), "abcaaabcccaabrrcb", make_dict()) I don't know
280.
▲
by
sreque
16y ago
Puts on Perl troll hat You must not have learned too much, or else you'd have no reason to go back! :)
281.
▲
by
sreque
16y ago
At my university we have a course that goes over all the levels of abstraction between the hardware and systems-level UNIX programming. I never took the class, but I followed the course book on my own and it proved to be one of the most enl
282.
▲
by
sreque
16y ago
I agree with most of what you said. I like the idea of Maven's dependency management and repositories. It's also nice to have a lot of plugins to take care of common build system use cases for you. I just happen to hate the rest of it. Fort
283.
▲
by
sreque
16y ago
I googled for an answer to your problem and found this: http://www.scala-lang.org/node/1305 . The link basically recommends that you learn Java first :). For better or for worse, Scala relies a ton on Java, and no one has created Scala-sp
284.
▲
by
sreque
16y ago
It will probably negatively impact your project if all of your team know PHP better and are more comfortable with it. Pick whichever language works best for your team. If some of your team love Python and are able to convince the rest of yo
285.
▲
Mercurial 1.6 (now with shared bookmarks)
(mercurial.selenic.com)
2 points
by
sreque
16y ago
|
0 comments
286.
▲
by
sreque
16y ago
I think it's because many of us believe there is life after death, and being able to reflect positively about your mortal life when at its end is a good sign that you're off to a good start for the next!
287.
▲
by
sreque
16y ago
What you said above is misleading. Mutability is not inherently tied to OOP. You can have immutable objects just as much as you can have functions that manipulate mutable state that they hide. I have heard that some people have even propose
288.
▲
by
sreque
16y ago
Except you aren't using sets, so you get duplicate characters. I can just as easily write ("letters in this sentence" + "and this one").toSeq.sorted.reverse in scala. You could tag the end of your ruby statement with .uniq and you would be
289.
▲
by
sreque
16y ago
If you look at my Scala examples above, they are both more succinct than their Clojure and Python counterparts.
290.
▲
by
sreque
16y ago
A couple of points. 1. I love python. 2. The OP was being a troll. 3. People need to be more honest about themselves and their favorite pet languages. I can write a sorted set in assembler too, if I wanted. However, there's been several tim
291.
▲
by
sreque
16y ago
Not sure why we are posting alternative language implementations, but here is the Scala version :). You could say that this was an exercise for me in learning 2.8, which I am unfamiliar with. A for comprehension isn't needed because Scala a
292.
▲
by
sreque
16y ago
I think this CPAN module is a great idea, but is there any team of Perl programmers that would consent to actually using this? It seems that anyone who thinks this module is a good idea would already be using a different language entirely.
293.
▲
by
sreque
16y ago
Weird. My work machine is 64-bit Linux, and since we use GWT I have to use Firefox for debugging, but I have not noticed any performance problems. I have unfortunately noticed, however, than even with compressed OOPs, Eclipse, GWT, and mave
294.
▲
by
sreque
16y ago
Well, I can list a couple of things off the top of my head. For reference, I use both Chrome and Firefox on Linux at work and at home, and I have Chrome exclusively installed on my windows partition at home. I am trying to keep my windows i
295.
▲
by
sreque
16y ago
If this feature works well, I think it will eliminate possibly the biggest advantage of Chrome over Firefox. I already prefer Firefox over Chrome for usability reasons, and now soon I should be able to enjoy improved stability on Linux when
296.
▲
by
sreque
16y ago
I don't think you're using the word strawman correctly. I believe it means that you create an easily refutable argument and pretend your opponent used it when he really didn't. You then knock the argument down and proclaim victory. Also, th
297.
▲
by
sreque
16y ago
You can build your own keyword-argument passing style, exception handling, standard library, and OOP system with assembly as well. Most of would rather start with a language that got these features right in the first place, rather than defe
298.
▲
by
sreque
16y ago
I thought you might bring some of that up! :) Unless this URL ( http://clojure.org/java_interop ) is out of date, then I fail to see how I'm misreading this section. "All arguments are passed to Clojure fns as objects, so there's no point t
299.
▲
by
sreque
16y ago
I agree that Scala will never be a good replacement for languages Ruby both because of its complexity and the fact that dynamic languages are always going to be more flexible than statically typed languages. The fact that majority of new la
300.
▲
by
sreque
16y ago
I've witnessed this first hand at place I've worked! When all you know is Java, somehow an XML-based solution starts to look really appealing. I wouldn't know. It's been such a long time since all I knew was Java. But apparently, when you w
More ›