Click here to Skip to main content
14,870,995 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.
 
PraiseRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler20-Sep-19 7:28
MemberGary Wheeler20-Sep-19 7:28 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Daniel Pfeffer21-Sep-19 8:20
professionalDaniel Pfeffer21-Sep-19 8:20 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
honey the codewitch21-Sep-19 8:22
mvahoney the codewitch21-Sep-19 8:22 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
obermd24-Sep-19 3:28
Memberobermd24-Sep-19 3:28 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
honey the codewitch20-Sep-19 6:27
mvahoney the codewitch20-Sep-19 6:27 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler20-Sep-19 7:25
MemberGary Wheeler20-Sep-19 7:25 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Sander Rossel21-Sep-19 1:53
professionalSander Rossel21-Sep-19 1:53 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Member 798912222-Sep-19 7:09
MemberMember 798912222-Sep-19 7:09 
Sander Rossel wrote:
Why not change the function name to _Terminate_Users (or TerminateUsers if you want to do it right Wink | ;) )
That was last month. The coding standard of this month says that functions should be named _<class>_<action>. The argument for that is that in a sorted list of function names, you get all the actions on one object class gathered together.

I have no information wha will be the right way to format code next month, or what the arguments will be, but I am really happy that modern IDEs have support for coding style changes. For newlines, indents and spacing it can be fully automated. Changing naming standards usually require some more manual work, but compared to the old days where you had to manually search for every occurence of a symbol to change it to the standard of the month required a lot more work.
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler23-Sep-19 2:05
MemberGary Wheeler23-Sep-19 2:05 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler23-Sep-19 2:03
MemberGary Wheeler23-Sep-19 2:03 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Sander Rossel23-Sep-19 2:23
professionalSander Rossel23-Sep-19 2:23 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler23-Sep-19 3:20
MemberGary Wheeler23-Sep-19 3:20 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Morten Raaasted23-Sep-19 22:11
professionalMorten Raaasted23-Sep-19 22:11 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
honey the codewitch21-Sep-19 3:00
mvahoney the codewitch21-Sep-19 3:00 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler23-Sep-19 2:06
MemberGary Wheeler23-Sep-19 2:06 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Sander Rossel21-Sep-19 1:58
professionalSander Rossel21-Sep-19 1:58 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
honey the codewitch21-Sep-19 3:02
mvahoney the codewitch21-Sep-19 3:02 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
CPallini20-Sep-19 7:36
mveCPallini20-Sep-19 7:36 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler20-Sep-19 7:38
MemberGary Wheeler20-Sep-19 7:38 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
PIEBALDconsult21-Sep-19 9:46
professionalPIEBALDconsult21-Sep-19 9:46 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler24-Sep-19 2:23
MemberGary Wheeler24-Sep-19 2:23 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
zpinklb23-Sep-19 21:49
Memberzpinklb23-Sep-19 21:49 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Kirk 1038982124-Sep-19 2:13
MemberKirk 1038982124-Sep-19 2:13 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Fever90524-Sep-19 3:55
professionalFever90524-Sep-19 3:55 
GeneralRe: Two lines of code I wrote today with a straight face (at least for a while) Pin
Gary Wheeler24-Sep-19 3:56
MemberGary Wheeler24-Sep-19 3:56 

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.