|
|
Invisible escreveu:
> On 13/03/2012 10:11 AM, Invisible wrote:
> I eventually gave up with NetBeans. It's just too cripplingly slow. (I
> did not have this problem with VS.) If I type something and have to wait
> /4 seconds/ for anything to appear on the screen, that's too slow, IMHO.
ah, children from the 90's...
> Seriously. Once I got to a handful of files, amounting to a grand total
> of 6KB of Java source, performance became unacceptably poor.
That's not my (ackowledged little) experience. And surely not of most
people working on some hairy shared projects.
> In all, I was spending /far/ too much time fighting the IDE and not
> enough time actually coding stuff.
cool, now you'll be just fighting a wholesomely stupid language.
*oh, I felt so Darrenish now*
> Some of you may remember that logic simulator I built in Haskell a while
> back. If I recall, I challenged Warp to implement it in C++, and he
> couldn't even figure out how the heck it works.
Perhaps you should have told him what the code is supposed to do rather
than expect someone to figure out what some haskell code is doing.
Here's a challenge for you. What do these haskell snippets are supposed
to do?
snippet 1:
((.)$(.))
snippet 2:
f >>= a . b . c =<< g
and for a bonus, guess what this one does:
import System.Environment
foo n = 0 % (0 # (1,0,1)) where
i%ds
| i >= n = []
| True = (concat h ++ "\t:" ++ show j ++ "\n") ++ j%t
where k = i+10; j = min n k
(h,t) | k > n = (take (n`mod`10) ds ++ replicate (k-n) " ",[])
| True = splitAt 10 ds
j # s | n>a || r+n>=d = k # t
| True = show q : k # (n*10,(a-(q*d))*10,d)
where k = j+1; t@(n,a,d)=k&s; (q,r)=(n*3+a)`divMod`d
j&(n,a,d) = (n*j,(a+n*2)*y,d*y) where y=(j*2+1)
main = putStr.foo.read.head =<< getArgs
no googling, huh? ;)
> Yes, Java /still/ sucks. :-P
Yes and that is a feature by design.
What doesn't suck is the JVM and the tens of thousands of useful libs
that run atop it. It's the only truly cross-platform performant VM out
there. Think about it, libs you don't actually need to recompile on
your machine.
And if you don't like java, you can just choose from many languages
running atop it and leveraging from said libs: Scala, Jython, JRuby,
even quite a few Scheme implementations... any haskell work on this front?
BTW, Ant is yet another example of XML-madness: it's basically a
verbose XML makefile for java.
--
a game sig: http://tinyurl.com/d3rxz9
Post a reply to this message
|
|