Click here to Skip to main content
13,139,254 members (78,588 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
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
memberStefan_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
memberSortaCore6-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
memberFreak307-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
memberMike 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
memberDrewcrewof27-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.
public class SanderRossel : Lazy<Person>
{
   public void DoWork()
   {
      throw new NotSupportedException();
   }
}

GeneralRe: Starting Functional Programming... Pin
harold aptroot4-Jul-14 3:47
memberharold 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
professionalRob 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
memberMark_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
protectorOriginalGriff4-Jul-14 3:38 
GeneralRe: Well that's the Ghoul-ash off the menu... Pin
CHill604-Jul-14 5:59
protectorCHill604-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
memberJimmyRopes4-Jul-14 3:48 
GeneralRolf Harris sentenced Pin
OriginalGriff4-Jul-14 2:24
protectorOriginalGriff4-Jul-14 2:24 
GeneralRe: Rolf Harris sentenced Pin
Mike Hankey4-Jul-14 2:42
professionalMike 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
professionalRichard 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
HomerTheGreat4-Jul-14 3:13
memberHomerTheGreat4-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.


Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 19 Sep 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid