Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  A Programming Idiom You've Never Heard Of

Here are some sequences of events:Take the rake out of the shed, use it to pile up the leaves in the backyard, then put the rake back in the shed.Fly to Seattle, see the sights, then fly home.Put the key in the door, open it, then take the key out of the door.Wake-up your phone, check the time, then put it back to sleep.See the pattern? You do something, then do something else, then you undo the first thing. Or more accurately, the last step is the inverse of the first. Once you're aware of this pattern, you'll see it everywhere. Pick up the cup, take a sip of coffee, put the cup down. And it'...

2,927 0       PROGRAMMING IDIOM STRANGE


  Yes, Virginia, Scala is hard

Let me first say that I am a Scala lover and have been a Scala champion for almost 5 years.  I've written books and articles on Scala.  I've worked with dozens of companies that have launched Scala and Lift projects.  I've code reviewed many dozens of Scala projects.I used to think that Scala was easy.  It was, and continues to be, a cure for some of the numerous problems with Java.  From the "stuff that's hard or impossible in Java is simple in Scala," Scala is a very easy language.  Dealing with collections is super easy in Scala.  Isolating business logic ...

3,005 0       OOP SCALA HARD FP FUNCTION PROGRAMMING IDIOM