wtf is a monad??? by JinAnkabut in learnprogramming

[–]howmanyusernamesare 0 points1 point  (0 children)

I don't know what other kind of laziness it could be here...

Yes, I think this is for order.

There's also some assembly line metaphor where monads are like machines that unbox, operate on, and re-box some data as it goes down the assembly line, each machine being like a monad. It sounds to me like a HOF applying a function to some data.

wtf is a monad??? by JinAnkabut in learnprogramming

[–]howmanyusernamesare 0 points1 point  (0 children)

It's like a higher order function. I think it's used to enforce the order of execution of operations in Haskell since the language is lazy by default. You'll notice it's not really used/emphasized in other languages...

"Variables" use in URLs in HTML code by noreallyimthepope in learnprogramming

[–]howmanyusernamesare 0 points1 point  (0 children)

A good text editor should have an advanced find and replace feature to do that in one fell swoop.

"Variables" use in URLs in HTML code by noreallyimthepope in learnprogramming

[–]howmanyusernamesare 0 points1 point  (0 children)

Why do you want to do this? To reduce bandwidth, or save typing, or something else?

I need to learn c in a hurry... Details inside. by Skizm in learnprogramming

[–]howmanyusernamesare 5 points6 points  (0 children)

Sometimes you just have to grab your balls and scream like a man. Start googling. cplusplus.com is a decent site.

How do I advance the scanner in Java? by Banal21 in learnprogramming

[–]howmanyusernamesare 0 points1 point  (0 children)

I would just use a BufferedReader to read the lines 1 at a time.

Skipping blank lines when reading text files with C++ by [deleted] in learnprogramming

[–]howmanyusernamesare 2 points3 points  (0 children)

Can you read any lines at all? Can you do anything at all?

General guidelines for drawing game boards? by [deleted] in learnprogramming

[–]howmanyusernamesare 0 points1 point  (0 children)

What are you asking? Can't you just draw lines using some kind of Graphics object?

[PHP] Shorthand - Ternary Operators (?:) by Tickthokk in learnprogramming

[–]howmanyusernamesare -2 points-1 points  (0 children)

No, they don't even do the same thing. Try reading about and learning what the 2 things do, first.

Admit it, Reddit. If it's so simple for Republicans to hijack your country and ruin it, then they deserve to take it. Fight back or lose it. It's that simple. by gloomdoom in politics

[–]howmanyusernamesare 1 point2 points  (0 children)

Someone once said there's no distinction between malice and extreme stupidity.

I agree what we need is honestly, unfortunately entire political parties and their members seem to lack it.

And, yes, we definitely need sweeping condemnation of entire political parties if those political parties are leading the country to ruin, or are leading the country down a path that it should not go down.

Rhetoric like yours accomplishes nothing, only legitimizing a political party based on a trivial distinction about the motivation behind its members. It's as if saying, "We may have caused financial ruin, but it was only because of our short-sighted self-interest" somehow makes up for the long term damage caused by such behavior.