Click here to Skip to main content
12,945,800 members (50,713 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: OK, I'll be very nice!! :-o Pin
PIEBALDconsult16-Jun-14 17:03
memberPIEBALDconsult16-Jun-14 17:03 
GeneralRe: OK, I'll be very nice!! :-o Pin
Karen Mitchelle16-Jun-14 17:05
professionalKaren Mitchelle16-Jun-14 17:05 
AnswerRe: OK, I'll be very nice!! :-o Pin
Super Lloyd16-Jun-14 17:56
memberSuper Lloyd16-Jun-14 17:56 
GeneralRe: OK, I'll be very nice!! :-o Pin
Karen Mitchelle16-Jun-14 19:06
professionalKaren Mitchelle16-Jun-14 19:06 
GeneralRe: OK, I'll be very nice!! :-o Pin
Mike Hankey16-Jun-14 17:05
professionalMike Hankey16-Jun-14 17:05 
GeneralRe: OK, I'll be very nice!! :-o Pin
Super Lloyd16-Jun-14 17:58
memberSuper Lloyd16-Jun-14 17:58 
GeneralPithy, very pithy Pin
Munchies_Matt16-Jun-14 11:29
memberMunchies_Matt16-Jun-14 11:29 
Generalbest practices with methods Pin
Kamen Nik16-Jun-14 11:22
memberKamen Nik16-Jun-14 11:22 
Is it just me, or this method:

public static MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status);

is not entirely conforming with the best practices?

(It's from the System.Web.Security standard .NET library)

Why can't it be:
public static MembershipUser CreateUser(MembershipUser userToCreate);
?
Pretty much all of the parameters are members of the MembershipUser class anyway.

Am I missing something in the software development trends?
JokeRe: best practices with methods Pin
Duncan Edwards Jones16-Jun-14 11:51
professionalDuncan Edwards Jones16-Jun-14 11:51 
GeneralRe: best practices with methods Pin
Kamen Nik16-Jun-14 12:30
memberKamen Nik16-Jun-14 12:30 
GeneralRe: best practices with methods Pin
PIEBALDconsult16-Jun-14 12:49
memberPIEBALDconsult16-Jun-14 12:49 
GeneralRe: best practices with methods Pin
Duncan Edwards Jones16-Jun-14 20:39
professionalDuncan Edwards Jones16-Jun-14 20:39 
GeneralRe: best practices with methods Pin
PIEBALDconsult17-Jun-14 5:35
memberPIEBALDconsult17-Jun-14 5:35 
GeneralRe: best practices with methods Pin
Kamen Nik17-Jun-14 7:34
memberKamen Nik17-Jun-14 7:34 
GeneralRe: best practices with methods Pin
PIEBALDconsult16-Jun-14 12:07
memberPIEBALDconsult16-Jun-14 12:07 
GeneralRe: best practices with methods Pin
Roger Wright16-Jun-14 19:39
memberRoger Wright16-Jun-14 19:39 
JokeRe: best practices with methods Pin
Paul M Watt16-Jun-14 13:32
mentorPaul M Watt16-Jun-14 13:32 
GeneralRe: best practices with methods Pin
RyanDev16-Jun-14 16:24
mvpRyanDev16-Jun-14 16:24 
GeneralRe: best practices with methods Pin
PIEBALDconsult16-Jun-14 16:38
memberPIEBALDconsult16-Jun-14 16:38 
GeneralXDK // HTML 5 Pin
C-P-User-316-Jun-14 10:29
memberC-P-User-316-Jun-14 10:29 
QuestionOff topic Pin
RyanDev16-Jun-14 10:39
mvpRyanDev16-Jun-14 10:39 
AnswerRe: Off topic Pin
Kenneth Haugland16-Jun-14 10:47
professionalKenneth Haugland16-Jun-14 10:47 
AnswerRe: Off topic Pin
phil.o16-Jun-14 10:53
professionalphil.o16-Jun-14 10:53 
JokeRe: Off topic Pin
RyanDev16-Jun-14 10:57
mvpRyanDev16-Jun-14 10:57 
JokeRe: Off topic Pin
phil.o16-Jun-14 11:15
professionalphil.o16-Jun-14 11:15 

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 | Mobile
Web02 | 2.8.170518.1 | Last Updated 23 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid