Clipboard.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
[REDACTED]

Actually not literally "[REDACTED]", but rather a snippet from Werewolf that I may or may not have deleted from my post, so I don't want to post it here on fear of lightning and death if Shazam finds out.
 
You made me get back into Steven Universe, I love you so much
The end of season one is simply spectacular.

oh, and
res-tools-diamond.png
 
  • Like
Reactions: xTordX
foldr (\_ acc -> acc+1) 0 [1..7]

Because I was Haskelling on the Mods make you Lose Count thread, and copied that code from GHCi after testing it
 
6. Add a wood/gold hybrid pipe that accelerates items as they're extracted. Or just make the emerald pipe do that.

Editing a post in the new Buildcraft suggestions thread
 
qSort :: (Ord a) => [a] -> [a]

qSort (x:xs) = (qSort . filter (< x) $ xs) ++ [x] ++ (qSort . filter (>= x) $ xs)

qSort [] = []

More Haskell yay!
 
No, Java is not bad. Java has a bad reputation because it is easy, and that means a lot of bad programmers and programs. That is like blaming Mercedes for the fact 95% of their drivers would gleefully run you off the road.
No the language design encourages bad practices ;)
Also, the haskell quicksort is really short. In three lines of code:
qSort :: (Ord a) => [a] -> [a]
qSort (x:xs) = (qSort . filter (< x) $ xs) ++ [x] ++ (qSort . filter (>= x) $ xs)
qSort [] = []
I could probably do the same in Clojure but I just woke up and thus tired :P
b) I hate Python, but it's still a good language to start with. Certainly better than learning Java as one's first language.
^
b) I learned Java as my first language and I'm doing fine.
Have you ever reached outside of Java?
One way to do things. It's generally easier to do things when there aren't so many ways to do the same thing.
This is exactly why I wouldn't recommend Perl for a beginner language
Actually it can be fairly good for starter game development as well, a bit weak but definitely not a bad option.
It also has some awesome libraries for it to
Python is too basic...
Protip: Don't lie