Conversation

Notices

  1. Code lines that are not avoidable: butt.isEnabled = true; (Enabling a button)

    Monday, 13-Jan-20 09:38:51 UTC from web
    1. @adiwan Directly modifying the properties of an object?! No thank you! Use getters and setters. butt.enable();

      Monday, 13-Jan-20 19:24:59 UTC from web
      1. @oracle butt.setStatus(true);

        Monday, 13-Jan-20 19:25:40 UTC from web
      2. @oracle This is a property (C#). So it is just a fancier way to make the same as void isEnabled(bool setValue) and bool isEnabled() but without the parenthesis.

        Monday, 13-Jan-20 19:40:52 UTC from web
        1. @adiwan C# is honestly the best Java-like ever and this is one example why.

          Wednesday, 15-Jan-20 03:05:26 UTC from web