Interfaces and static classes Interfaces and static classes
Page 1 of 4 123 ... LastLast
Posts 1 to 10 of 33
  1. #1

    Respect my authoritah!

    NotAllThere is always on top

    NotAllThere's Avatar
    Join Date
    Aug 2007
    Location
    Far away from HMRC
    Posts
    23,515

    Default Interfaces and static classes

    Just had a junior programmer explaining to me that static classes are wonderful and interfaces are only when you want two classes that can't inherit from each other, to share methods. He's the guy who's taking over from me. He's not even some offshore moron.

    Down with racism. Long live miscegenation!

  2. #2

    Godlike

    Zigenare is a fount of knowledge

    Zigenare's Avatar
    Join Date
    Apr 2018
    Posts
    6,116

    Default

    Quote Originally Posted by NotAllThere View Post
    Just had a junior programmer explaining to me that static classes are wonderful and interfaces are only when you want two classes that can't inherit from each other, to share methods. He's the guy who's taking over from me. He's not even some offshore moron.

    Hope you cuffed him round the earhole!
    Old Greg - In search of acceptance since Mar 2007. Hoping each leap will be his last.

  3. #3

    bored now

    eek is always on top

    eek's Avatar
    Join Date
    Jun 2010
    Location
    😂
    Posts
    25,864

    Default

    Quote Originally Posted by NotAllThere View Post
    Just had a junior programmer explaining to me that static classes are wonderful and interfaces are only when you want two classes that can't inherit from each other, to share methods. He's the guy who's taking over from me. He's not even some offshore moron.

    The calibre of your replacement is a great way of seeing how highly you are regarded by the end client.

    In my case it usually requires an MVP (I think last clientco needed 2 to cover all my areas of expertise).
    merely at clientco for the entertainment

  4. #4

    Double Godlike!

    ladymuck has reached the peak. Play again?

    ladymuck's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    11,356

    Default

    He's taking over and you're heading for the door.

    Chin up, not your problem.

  5. #5

    My post count is Majestic

    vetran has reached the peak. Play again?

    vetran's Avatar
    Join Date
    Jul 2005
    Location
    Come Friendly Bombs
    Posts
    35,503

    Default

    Stand back and enjoy the future of repeat consultancy fees!

    Where there is stupidity there is business fixing it!
    "If you didn't do anything that wasn't good for you it would be a very dull life. What are you gonna do? Everything that is pleasant in life is dangerous."

    I want to see the hand of history on his collar.

  6. #6

    Double Godlike!

    BR14 is always on top

    BR14's Avatar
    Join Date
    Jun 2017
    Location
    Under your kitchen sink
    Posts
    11,615

    Default

    Quote Originally Posted by eek View Post
    The calibre of your replacement is a great way of seeing how highly you are regarded by the end client.

    In my case it usually requires an MVP (I think last clientco needed 2 to cover all my areas of expertise).
    MVP?
    Massively Vain Plonker?
    Entropy is NOT what it used to be.
    Inertia, however........................

  7. #7

    Fingers like lightning

    TheGreenBastard is NOT a disguised employee

    TheGreenBastard's Avatar
    Join Date
    Dec 2015
    Posts
    890

    Default

    Quote Originally Posted by NotAllThere View Post
    interfaces are only when you want two classes that can't inherit from each other, to share methods
    Composition over inheritance - Wikipedia

  8. #8

    Respect my authoritah!

    NotAllThere is always on top

    NotAllThere's Avatar
    Join Date
    Aug 2007
    Location
    Far away from HMRC
    Posts
    23,515

    Default

    Quote Originally Posted by eek View Post
    The calibre of your replacement is a great way of seeing how highly you are regarded by the end client.
    To be fair, this is senior management laying down dictats ot middle management concerning contractors. My immediate bosses and my colleagues don't want me to go. Although my replacement is internal, young and German, they're also go through the horrors of having to outsource.

    Quote Originally Posted by ladymuck View Post
    He's taking over and you're heading for the door.

    Chin up, not your problem.
    That's what my wife said!

    Currently negotiating a permie job at a small consultancy that should see me through to retirement and is refreshingly challenging. The directors (all ex-contractors) are meeting next week to discuss it. I'm angling for the job title "Head of Gin Procurement and Quality Control". *hic*
    Down with racism. Long live miscegenation!

  9. #9

    Godlike

    DoctorStrangelove has reached the peak. Play again?

    DoctorStrangelove's Avatar
    Join Date
    Apr 2018
    Posts
    7,057

    Default

    Quote Originally Posted by NotAllThere View Post
    Just had a junior programmer explaining to me that static classes are wonderful and interfaces are only when you want two classes that can't inherit from each other, to share methods. He's the guy who's taking over from me. He's not even some offshore moron.

    Pah!

    Foul Septic immitation.

    Life. Don't talk to me about life. - YouTube
    When the fun stops, STOP.

  10. #10

    Respect my authoritah!

    NotAllThere is always on top

    NotAllThere's Avatar
    Join Date
    Aug 2007
    Location
    Far away from HMRC
    Posts
    23,515

    Default

    Quote Originally Posted by BR14 View Post
    MVP?
    Massively Vain Plonker?
    That'd be me. :wave
    Quote Originally Posted by vetran View Post
    Stand back and enjoy the future of repeat consultancy fees!

    Where there is stupidity there is business fixing it!
    Well, funnily enough, the consultancy I'm negotiating with have a presence at the client site. However, they'd charge 50% more for me than I do. I would love to see that happen.
    Quote Originally Posted by TheGreenBastard View Post
    I told him. He's young. He's got no flippin' excuse. I swear he's a closet procedural programmer...
    Down with racism. Long live miscegenation!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •