Click here to Skip to main content
15,900,110 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Men would rather give themselves an electric shock than sit alone in a room with nothing to do Pin
Stefan_Lang6-Jul-14 20:19
Stefan_Lang6-Jul-14 20:19 
GeneralRe: Men would rather give themselves an electric shock than sit alone in a room with nothing to do Pin
Nguyen.H.H.Dang6-Jul-14 20:29
professionalNguyen.H.H.Dang6-Jul-14 20:29 
GeneralRe: Men would rather give themselves an electric shock than sit alone in a room with nothing to do Pin
SortaCore6-Jul-14 22:20
SortaCore6-Jul-14 22:20 
GeneralRe: Men would rather give themselves an electric shock than sit alone in a room with nothing to do Pin
Nguyen.H.H.Dang6-Jul-14 22:27
professionalNguyen.H.H.Dang6-Jul-14 22:27 
GeneralRe: Men would rather give themselves an electric shock than sit alone in a room with nothing to do Pin
Freak307-Jul-14 1:15
Freak307-Jul-14 1:15 
GeneralRe: Men would rather give themselves an electric shock than sit alone in a room with nothing to do Pin
Mike Ellison7-Jul-14 6:22
Mike Ellison7-Jul-14 6:22 
GeneralRe: Men would rather give themselves an electric shock than sit alone in a room with nothing to do Pin
Drewcrewof27-Jul-14 10:00
Drewcrewof27-Jul-14 10:00 
GeneralStarting Functional Programming... Pin
Sander Rossel4-Jul-14 3:41
professionalSander Rossel4-Jul-14 3:41 
So I just started my Open University course on Functional Programming (actually not my first time using a functional language, I looked at some F# about two years ago, but only a little little Smile | :) ).
The course uses Haskell and the OU provided me with the book Programming in Haskell by Graham Hutton[^].
One of my first throughts when starting: "No wonder functional programming is consise... C# could be a lot more consise too if every function and variable was abbreviated to one to three letters only!"

For example, there's the function 'fst'. What is fst? Had I named my function fst in C# it probably would've been Hall of Shame material.
fst is First and takes the first value of a tuple with two values.
Some function definitions:
fst   :: (a, b) -> a
head  :: [a] -> a
take  :: Int -> [a] -> [a]
zip   :: [a] -> [b] -> [(a, b)]
Riiiiiiiiight...

That's not to say I'm lookinf forward to learning more about Haskell and functional programming in general Smile | :)
It's an OO world.
C#
public class SanderRossel : Lazy<Person>
{
   public void DoWork()
   {
      throw new NotSupportedException();
   }
}

GeneralRe: Starting Functional Programming... Pin
harold aptroot4-Jul-14 3:47
harold aptroot4-Jul-14 3:47 
GeneralRe: Starting Functional Programming... Pin
Sander Rossel4-Jul-14 3:55
professionalSander Rossel4-Jul-14 3:55 
GeneralRe: Starting Functional Programming... Pin
Rob Philpott4-Jul-14 4:09
Rob Philpott4-Jul-14 4:09 
GeneralRe: Starting Functional Programming... Pin
Sander Rossel4-Jul-14 6:23
professionalSander Rossel4-Jul-14 6:23 
GeneralRe: Starting Functional Programming... Pin
Mark_Wallace4-Jul-14 6:51
Mark_Wallace4-Jul-14 6:51 
GeneralTo my friends in Hong Kong... Pin
Yvan Rodrigues4-Jul-14 3:39
professionalYvan Rodrigues4-Jul-14 3:39 
GeneralWell that's the Goulyas off the menu... Pin
Nagy Vilmos4-Jul-14 3:33
professionalNagy Vilmos4-Jul-14 3:33 
GeneralRe: Well that's the Ghoul-ash off the menu... Pin
OriginalGriff4-Jul-14 3:38
mveOriginalGriff4-Jul-14 3:38 
GeneralRe: Well that's the Ghoul-ash off the menu... Pin
CHill604-Jul-14 5:59
mveCHill604-Jul-14 5:59 
GeneralRe: Well that's the Goulyas off the menu... Pin
Sander Rossel4-Jul-14 3:47
professionalSander Rossel4-Jul-14 3:47 
GeneralRe: Well that's the Goulyas off the menu... Pin
JimmyRopes4-Jul-14 3:48
professionalJimmyRopes4-Jul-14 3:48 
GeneralRolf Harris sentenced Pin
OriginalGriff4-Jul-14 2:24
mveOriginalGriff4-Jul-14 2:24 
GeneralRe: Rolf Harris sentenced Pin
Mike Hankey4-Jul-14 2:42
mveMike Hankey4-Jul-14 2:42 
GeneralRe: Rolf Harris sentenced Pin
Nagy Vilmos4-Jul-14 2:44
professionalNagy Vilmos4-Jul-14 2:44 
GeneralRe: Rolf Harris sentenced Pin
Richard Deeming4-Jul-14 2:56
mveRichard Deeming4-Jul-14 2:56 
GeneralRe: Rolf Harris sentenced Pin
chriselst4-Jul-14 2:57
professionalchriselst4-Jul-14 2:57 
GeneralRe: Rolf Harris sentenced Pin
JMK-NI4-Jul-14 3:13
professionalJMK-NI4-Jul-14 3:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   482 votes