• Kissaki@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    I would hate to have header files with separate / duplicate declarations.

    If I want an interface I’ll create an interface type.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      4 days ago

      What about:

      Class A{ /* declarations */ };

      A a; <= doesn’t instantiate a class!

      And just put a “a.cs” file somewhere and it’ll pollute the global namespace magically.

      And on and on.

      A FOSS language would have evolved, microsoft just doesn’t care.

      But I guess it’s your fav language so you won’t take any criticism right?