Click here to Skip to main content
14,385,119 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: Some thoughts on the .net CLR/CLI Pin
honey the codewitch15-May-19 9:05
memberhoney the codewitch15-May-19 9:05 
Generalstuck with .NET Core Pin
honey the codewitch14-May-19 3:22
memberhoney the codewitch14-May-19 3:22 
GeneralRe: stuck with .NET Core Pin
OriginalGriff14-May-19 3:34
protectorOriginalGriff14-May-19 3:34 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 3:38
memberhoney the codewitch14-May-19 3:38 
GeneralRe: stuck with .NET Core Pin
OriginalGriff14-May-19 3:53
protectorOriginalGriff14-May-19 3:53 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 4:00
memberhoney the codewitch14-May-19 4:00 
GeneralRe: stuck with .NET Core Pin
Eddy Vluggen14-May-19 5:17
mveEddy Vluggen14-May-19 5:17 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 5:22
memberhoney the codewitch14-May-19 5:22 
There's lots of nested data. like this

(int Accept, ((char First, char Last)[] Ranges, int Destination)[] Transitions, int[] PossibleAccepts)[]

I'm avoiding polluting the namespace with types the end user-dev will never touch.

Most of these are strictly for parse tables - machine generated data that will never be touched by human hands, or perused by human eyes.

If I start polluting the namespace with types, I've in a way, broken encapsulation. Now, i can make these types private, but then if you ever WANT to see or debug or peruse these tables, you basically can't.

Tuples give me a really nice compromise. They avoid polluting the namespace, and are still exposed enough that someone can use them and alter them if they really want to.

Keep in mind, this is not a general guideline for writing code - this is a very special case.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.


modified 14-May-19 10:28am.

GeneralRe: stuck with .NET Core Pin
Sander Rossel14-May-19 10:10
professionalSander Rossel14-May-19 10:10 
GeneralRe: stuck with .NET Core Pin
RickZeeland14-May-19 3:34
mveRickZeeland14-May-19 3:34 
GeneralRe: stuck with .NET Core Pin
Kornfeld Eliyahu Peter14-May-19 3:40
mveKornfeld Eliyahu Peter14-May-19 3:40 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 3:43
memberhoney the codewitch14-May-19 3:43 
GeneralRe: stuck with .NET Core Pin
OriginalGriff14-May-19 3:55
protectorOriginalGriff14-May-19 3:55 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 3:58
memberhoney the codewitch14-May-19 3:58 
GeneralRe: stuck with .NET Core Pin
OriginalGriff14-May-19 4:28
protectorOriginalGriff14-May-19 4:28 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 4:32
memberhoney the codewitch14-May-19 4:32 
GeneralRe: stuck with .NET Core Pin
OriginalGriff14-May-19 5:05
protectorOriginalGriff14-May-19 5:05 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 5:07
memberhoney the codewitch14-May-19 5:07 
GeneralRe: stuck with .NET Core Pin
OriginalGriff14-May-19 5:16
protectorOriginalGriff14-May-19 5:16 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 5:33
memberhoney the codewitch14-May-19 5:33 
GeneralRe: stuck with .NET Core Pin
OriginalGriff14-May-19 5:42
protectorOriginalGriff14-May-19 5:42 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 5:52
memberhoney the codewitch14-May-19 5:52 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 4:43
memberhoney the codewitch14-May-19 4:43 
GeneralRe: stuck with .NET Core Pin
Richard Deeming14-May-19 3:43
mveRichard Deeming14-May-19 3:43 
GeneralRe: stuck with .NET Core Pin
honey the codewitch14-May-19 3:45
memberhoney the codewitch14-May-19 3:45 

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.