Click here to Skip to main content
15,913,115 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
honey the codewitch30-Jul-19 12:16
mvahoney the codewitch30-Jul-19 12:16 
GeneralRe: i don't like object oriented programming Pin
kalberts30-Jul-19 14:11
kalberts30-Jul-19 14:11 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 14:17
mvahoney the codewitch30-Jul-19 14:17 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 16:25
Super Lloyd30-Jul-19 16:25 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 16:30
mvahoney the codewitch30-Jul-19 16:30 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 16:38
Super Lloyd30-Jul-19 16:38 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 16:40
mvahoney the codewitch30-Jul-19 16:40 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 16:53
Super Lloyd30-Jul-19 16:53 
so you have (taking a guess in the dark)
C#
public class SomeParsingData {}

public class FA<T> 
{
  // ...
  public virtual void MyOperation(SomeParsingData data) {}
}
public class CharFA : FA<char> 
{
  public override void MyOperation(SomeParsingData data) {}
}

static class FAUtil
{
  public static void MyOperation<T>(FA<T> target, SomeParsingData data) => target.MyOperation(data);
}
And you are lamenting that MyOperation() implementation is in FA instead of FAUtil class. Is it?
Particularly when FA and SomeParsingData are not really related but both needed in MyOperation, right?

Thinking about it... But not thinking too much until you confirm your issue...
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:03
mvahoney the codewitch30-Jul-19 17:03 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:07
mvahoney the codewitch30-Jul-19 17:07 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 17:23
Super Lloyd30-Jul-19 17:23 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:25
mvahoney the codewitch30-Jul-19 17:25 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 17:34
Super Lloyd30-Jul-19 17:34 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:34
mvahoney the codewitch30-Jul-19 17:34 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 18:07
Super Lloyd30-Jul-19 18:07 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:29
mvahoney the codewitch31-Jul-19 1:29 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 2:05
Super Lloyd31-Jul-19 2:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 2:17
mvahoney the codewitch31-Jul-19 2:17 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 3:13
Super Lloyd31-Jul-19 3:13 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 3:16
mvahoney the codewitch31-Jul-19 3:16 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 3:30
Super Lloyd31-Jul-19 3:30 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 3:35
mvahoney the codewitch31-Jul-19 3:35 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:05
Super Lloyd31-Jul-19 5:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 5:11
mvahoney the codewitch31-Jul-19 5:11 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 5:12
Super Lloyd31-Jul-19 5:12 

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.