Click here to Skip to main content
15,915,763 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: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:15
Super Lloyd31-Jul-19 5:15 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:19
mvahoney the codewitch31-Jul-19 5:19 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:50
Super Lloyd31-Jul-19 5:50 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:53
mvahoney the codewitch31-Jul-19 5:53 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:56
mvahoney the codewitch31-Jul-19 5:56 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 6:01
Super Lloyd31-Jul-19 6:01 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 6:05
mvahoney the codewitch31-Jul-19 6:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 6:11
mvahoney the codewitch31-Jul-19 6:11 
In general I've found a lot of my old habits I picked up in the 80s and 90s before i had access to really smart C++ compilers have served me well under .NET.

They say you don't have to be careful about heap allocation, and that's kind of true because of the way their garbage collected heap works, but it still costs. They claim the cost is "incrementing a pointer" - in reality that pointer gets incremented enough if forces the .NET host to do a garbage collection and reallocation which costs significantly. So basically all it's really doing is pushing the costs of each heap allocation down the road - and then "batches" the individual costs together when it does the mark, sweep and allocate.

They do too much heap allocation in .NET IMO. the IEnumerator pattern is a big culprit but not as much as boxing. Boxing/Unboxing just floors me. That slams the heap.

Fortunately the new reference types and stackalloc can alleviate this somewhat, but not nearly enough.
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.

GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:27
mvahoney the codewitch31-Jul-19 5:27 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:51
Super Lloyd31-Jul-19 5:51 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:11
Super Lloyd31-Jul-19 5:11 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:13
mvahoney the codewitch31-Jul-19 5:13 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 2:20
mvahoney the codewitch31-Jul-19 2:20 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 19:42
Super Lloyd30-Jul-19 19:42 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:27
mvahoney the codewitch31-Jul-19 1:27 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 1:41
Super Lloyd31-Jul-19 1:41 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:42
mvahoney the codewitch31-Jul-19 1:42 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:44
mvahoney the codewitch31-Jul-19 1:44 
GeneralRe: i don't like object oriented programming Pin
Dannyyx30-Jul-19 20:21
Dannyyx30-Jul-19 20:21 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:28
mvahoney the codewitch31-Jul-19 1:28 
GeneralRe: i don't like object oriented programming Pin
Dannyyx29-Oct-19 22:30
Dannyyx29-Oct-19 22:30 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch29-Oct-19 22:31
mvahoney the codewitch29-Oct-19 22:31 
GeneralRe: i don't like object oriented programming Pin
Bob100030-Jul-19 23:48
professionalBob100030-Jul-19 23:48 
GeneralRe: i don't like object oriented programming Pin
TNCaver31-Jul-19 4:19
TNCaver31-Jul-19 4:19 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 4:25
mvahoney the codewitch31-Jul-19 4:25 

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.