|
Shaggar posted:in most languages you can tell what they do cause the syntax is reasonable. Haskells syntax is awful on every level and is completely indefensible everything i know is reasonable and sensible. everything i dont know is unreasonable and senseless
|
# ? Mar 6, 2015 20:57 |
|
|
# ? May 11, 2024 11:02 |
|
rrrrrrrrrrrt posted:no in most languages you spell out everything in retarded baby steps that joe blow idiot can follow because he can't understand anything even remotely declarative. urgh you're just playing into his hands
|
# ? Mar 6, 2015 20:59 |
|
trap sprung then dang
|
# ? Mar 6, 2015 20:59 |
|
HappyHippo posted:everything i know is reasonable and sensible. everything i dont know is unreasonable and senseless
|
# ? Mar 6, 2015 21:00 |
|
HappyHippo posted:everything i know is reasonable and sensible. everything i dont know is unreasonable and senseless if it wasn't unreasonable and senseless I would know it.
|
# ? Mar 6, 2015 21:00 |
|
to be fair "unreasonable and senseless" is a pretty good description of a LOT of haskell code
|
# ? Mar 6, 2015 21:02 |
|
doing that big haskell assignment helped me loads when it came to doing that erlang assignment the other day, the syntax is scary but you can get used to it
|
# ? Mar 6, 2015 21:03 |
|
rrrrrrrrrrrt posted:no in most languages you spell out everything in retarded baby steps that joe blow idiot can follow because he can't understand anything even remotely declarative. I like "retarded baby steps", it's code much easier to maintain
|
# ? Mar 6, 2015 21:04 |
|
rrrrrrrrrrrt posted:to be fair "unreasonable and senseless" is a pretty good description of a LOT of haskell code idk i think that code i posted there is pretty reasonable Symbolic Butt posted:I like "retarded baby steps", it's code much easier to maintain im not sure this is true
|
# ? Mar 6, 2015 21:06 |
|
have a bit of religious wars thrown at you
|
# ? Mar 6, 2015 21:11 |
|
MononcQc posted:have a bit of religious wars thrown at you red means "has side effects"? edit: but "line is null" doesn't seem to fit that pattern
|
# ? Mar 6, 2015 21:12 |
|
MononcQc posted:have a bit of religious wars thrown at you java.io.File doesn't have a readLine() method
|
# ? Mar 6, 2015 21:16 |
|
prefect posted:red means "has side effects"? nah, just that the colours correspond to the same code - so all the red parts in the top image are contained in the red part in the bottom
|
# ? Mar 6, 2015 21:18 |
|
gonadic io posted:nah, just that the colours correspond to the same code - so all the red parts in the top image are contained in the red part in the bottom i didn't realize it was two arrangements of the same code; it thought it was one thing, just oddly-aligned at least this is the terrible thread
|
# ? Mar 6, 2015 21:21 |
|
CPColin posted:java.io.File doesn't have a readLine() method I haven't used it much but the NIO stuff seems way, way more useful in practice.
|
# ? Mar 6, 2015 21:23 |
|
the formatting is a bit strange yeah - why is "List<String> errors =" highlighted in the first image but not the second? e: also the filter line needs another close parens
|
# ? Mar 6, 2015 21:23 |
|
And who makes a while loop for reading a file and doesn't make the first line look like this:code:
|
# ? Mar 6, 2015 21:27 |
|
gonadic io posted:the formatting is a bit strange yeah - why is "List<String> errors =" highlighted in the first image but not the second? because it's a religious argument and a terrible image
|
# ? Mar 6, 2015 21:28 |
|
I don't understand it therefore it's bad BLUB PARADOX YOU GUYS paul graham was right (9/11 was caused by imperative programming)
|
# ? Mar 6, 2015 21:37 |
|
MononcQc posted:have a bit of religious wars thrown at you this is a great example of how c#'s designers took unworkable garbage from haskell and turned it into something functional and comprehensible
|
# ? Mar 6, 2015 21:43 |
|
Shaggar posted:this is a great example of how c#'s designers took unworkable garbage from haskell and turned it into a form that i'm comfortable with for real though we do agree on stuff like this, erik meijer is great
|
# ? Mar 6, 2015 21:45 |
|
rrrrrrrrrrrt posted:i haven't tried it, but how bad could it be in comparison to scala? it's written by the jetbrains people so the ide support is already better. i think i'll be looking for some small tasks to use it for at work to give it a spin. im also curious. is there something horribly wrong with kotlin that makes nobody want to use it? just looking at the docs, i like what i see, better than java groovy & scala
|
# ? Mar 6, 2015 21:50 |
|
altho looks like it doesn't have sum types
|
# ? Mar 6, 2015 21:51 |
|
for reference it'd be something like:code:
|
# ? Mar 6, 2015 21:52 |
|
gonadic io posted:the formatting is a bit strange yeah - why is "List<String> errors =" highlighted in the first image but not the second? I think the author meant to highlight the "new ArrayList<>()" part only
|
# ? Mar 6, 2015 22:03 |
|
Someone talk about docker, it looks cool and I want an excuse to use it. Can the virtual environment be like, different versions of windows and office?
|
# ? Mar 6, 2015 23:33 |
|
pointsofdata posted:Someone talk about docker, it looks cool and I want an excuse to use it. microsoft is working on docker support right now. so yes, conceivably. licensing might get tricky tho. does office have a free trial?
|
# ? Mar 7, 2015 01:17 |
|
MononcQc posted:have a bit of religious wars thrown at you This proves python comprehensions are unequivocally the best at being simple and easy to understand. that or jquery
|
# ? Mar 7, 2015 02:29 |
|
I thought docker wasn't flavor of the month anymore after the gaping security holes
|
# ? Mar 7, 2015 02:31 |
|
security holes are baked into the system; it's not really designed to be isolated from its base operating system. there's some retrofit work but the shared memory model makes it really hard, apparently it's by all accounts neat, I keep meaning to try it but haven't bothered because vagrant is good enough and I'm all cloud these days anyway, I just spin up a real VM 99% of the time 5 years from now, software will be released as source, rpm, or docker file and all us SA's will be out of a job because you won't even care about the OS anymore! just stick it in your docker container ship.
|
# ? Mar 7, 2015 06:02 |
|
Bhodi posted:security holes are baked into the system; it's not really designed to be isolated from its base operating system. there's some retrofit work but the shared memory model makes it really hard, apparently No I think he meant the whole not checking signatures thing
|
# ? Mar 7, 2015 08:18 |
|
~Coxy posted:what do you mean? i know this is way late but any reasonable mocking framework will let you create a mock for a (non-final) concrete class. no need to use a single-implementation interface to be able to mock it out in a test.
|
# ? Mar 7, 2015 11:25 |
|
haskell is the high level language designed to be harder to use than assembly
|
# ? Mar 8, 2015 11:57 |
|
hey can anyone tell me what a monad is???
|
# ? Mar 8, 2015 11:57 |
|
bobbilljim posted:hey can anyone tell me what a monad is??? yes
|
# ? Mar 8, 2015 12:28 |
|
bobbilljim posted:hey can anyone tell me what a monad is??? unfortunately no one can be told what the monad is. you have to see it for yourself.
|
# ? Mar 8, 2015 12:31 |
|
bobbilljim posted:hey can anyone tell me what a monad is??? see ur copy of leibniz op
|
# ? Mar 8, 2015 12:39 |
|
I dont even see monads anymore... all I see now is blonde, brunette, redhead.
|
# ? Mar 8, 2015 14:34 |
|
I've… seen things you people wouldn't believe… monads on fire off the shoulder of Orion. I watched rings glitter in the dark near the Gate to Kirk Johnson's rectum. All those… moments… will be lost in time, like [small cough] posts in the yos
|
# ? Mar 8, 2015 16:23 |
|
|
# ? May 11, 2024 11:02 |
|
EVERY MORNING I WAKE UP AND OPEN PALM SLAM A VHS INTO THE SLOT. ITS ERLANG: THE MOVIE AND RIGHT THEN AND THERE I START DOING THE MOVES ALONGSIDE WITH THE MAIN CHARACTER, JOE. I DO EVERY MOVE AND I DO EVERY MOVE HARD. MAKIN WHOOSHING SOUNDS WHEN I SLAM DOWN SOME TELEPHONE OR EVEN WHEN I MESS UP TECHNIQUE. NOT MANY CAN SAY THEY ESCAPED CONSECUTIVE PROGRAMMING. I CAN. I SAY IT AND I SAY IT OUTLOUD EVERYDAY TO PEOPLE IN MY COLLEGE CLASS AND ALL THEY DO IS PROVE PEOPLE IN COLLEGE CLASS CAN STILL BE IMMATURE JERKS. AND IVE LEARNED ALL THE LINES AND IVE LEARNED HOW TO MAKE MYSELF AND MY APARTMENT LESS LONELY BY SHOUTING EM ALL. 2 HOURS INCLUDING WIND DOWN EVERY MORNING. THEN I LIFT
|
# ? Mar 8, 2015 16:46 |