Click here to Skip to main content
15,910,118 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: An interesting (or not) thing about C#'s var Pin
Sander Rossel25-Oct-16 10:39
professionalSander Rossel25-Oct-16 10:39 
GeneralMessage Removed Pin
25-Oct-16 11:03
professionalN_tro_P25-Oct-16 11:03 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Sander Rossel25-Oct-16 11:43
professionalSander Rossel25-Oct-16 11:43 
GeneralMessage Removed Pin
25-Oct-16 12:08
professionalN_tro_P25-Oct-16 12:08 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Sander Rossel25-Oct-16 12:26
professionalSander Rossel25-Oct-16 12:26 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Jeremy Falcon26-Oct-16 8:43
professionalJeremy Falcon26-Oct-16 8:43 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Sander Rossel26-Oct-16 8:46
professionalSander Rossel26-Oct-16 8:46 
GeneralRe: An interesting (or not) thing about C#'s var Pin
CDP180225-Oct-16 10:50
CDP180225-Oct-16 10:50 
N_tro_P wrote:
I have heard a lot of complaints, but have found none are valid if a person is in general, not an idiot.

I prefer to stay a general idiot then. The kid that wrote the code I cleaned up today drank the same coolaid. Var all over the place, including many unused and forgotten variables. He obviously really did not care about types or know how to deal with them. Also some cut and paste redundancy, endless fully qualified namespaces without any need. All that and much more in the code behind of a WinForm.

I refactored about 85% of that away or into other layers. The remaining code does not only work better. It has become even more readable because it's only a tiny fraction of what it was before. So how about not obscessing about readability or countless 'this' or mile long namespaces? How about investing a little more thought into what we are doing and how we do it?
The language is JavaScript. that of Mordor, which I will not utter here

This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.

"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."

If software development were a circus, we would all be the clowns.

GeneralMessage Removed Pin
25-Oct-16 11:05
professionalN_tro_P25-Oct-16 11:05 
GeneralRe: An interesting (or not) thing about C#'s var Pin
TheGreatAndPowerfulOz25-Oct-16 12:20
TheGreatAndPowerfulOz25-Oct-16 12:20 
GeneralRe: An interesting (or not) thing about C#'s var Pin
n.podbielski25-Oct-16 8:09
n.podbielski25-Oct-16 8:09 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Marc Clifton25-Oct-16 8:21
mvaMarc Clifton25-Oct-16 8:21 
GeneralRe: An interesting (or not) thing about C#'s var Pin
n.podbielski25-Oct-16 8:35
n.podbielski25-Oct-16 8:35 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Nish Nishant25-Oct-16 10:14
sitebuilderNish Nishant25-Oct-16 10:14 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Mladen Janković25-Oct-16 10:20
Mladen Janković25-Oct-16 10:20 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Mycroft Holmes25-Oct-16 14:17
professionalMycroft Holmes25-Oct-16 14:17 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Richard Deeming26-Oct-16 3:50
mveRichard Deeming26-Oct-16 3:50 
GeneralRe: An interesting (or not) thing about C#'s var Pin
#realJSOP26-Oct-16 0:06
professional#realJSOP26-Oct-16 0:06 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Richard Deeming26-Oct-16 3:52
mveRichard Deeming26-Oct-16 3:52 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Jeremy Falcon26-Oct-16 8:44
professionalJeremy Falcon26-Oct-16 8:44 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Mladen Janković26-Oct-16 4:56
Mladen Janković26-Oct-16 4:56 
GeneralRe: An interesting (or not) thing about C#'s var Pin
Jeremy Falcon26-Oct-16 8:45
professionalJeremy Falcon26-Oct-16 8:45 
GeneralTopTal, Codility, and skill testing PinPopular
Marc Clifton25-Oct-16 5:16
mvaMarc Clifton25-Oct-16 5:16 
QuestionRe: TopTal, Codility, and skill testing Pin
ZurdoDev25-Oct-16 5:32
professionalZurdoDev25-Oct-16 5:32 
AnswerRe: TopTal, Codility, and skill testing Pin
Marc Clifton25-Oct-16 5:47
mvaMarc Clifton25-Oct-16 5:47 

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.