Coding Shorts: Methods, Funcs & Actions...Oh, My!

แชร์
ฝัง

ความคิดเห็น • 19

  • @Rhysling2
    @Rhysling2 5 หลายเดือนก่อน +2

    This was excellent. Thank you.

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      Glad you enjoyed it!

  • @ytxzw
    @ytxzw 5 หลายเดือนก่อน

    Thank you for such a good explanation.

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      You are welcome!

  • @matejskerjanc7703
    @matejskerjanc7703 5 หลายเดือนก่อน +8

    Thought last param is out in func

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน +4

      D'oh. Absolutely right. that's why I should have used something like this:
      public static string Concat(int x, double y) => $"{x},{y}";
      Func concat = Maths.Concat;

  • @margosdesarian
    @margosdesarian 5 หลายเดือนก่อน

    Excellent tutorial!!

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      Glad you liked it!

  • @minhquangvu9310
    @minhquangvu9310 5 หลายเดือนก่อน +1

    Good job.

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      Many many thanks

  • @hozmannew896
    @hozmannew896 5 หลายเดือนก่อน

    Perfect as usual.

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      Wow, thank you!

  • @CrankViewer
    @CrankViewer 5 หลายเดือนก่อน

    Nice, thanks!

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      No problem!

  • @alexanderx7959
    @alexanderx7959 5 หลายเดือนก่อน

    hmm... btw, why do they call them Actions? why not Procedures, which was initially used for ones with no return type? :)

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      I didn't name them, but I think actions might be a better name. Procedures implies state change (at least to me) whereas "Action" seems more generic (it could be for logging, etc.).

    • @alexanderx7959
      @alexanderx7959 5 หลายเดือนก่อน

      @@swildermuth yep, i see your point. makes sense.

  • @irvinwaldman4233
    @irvinwaldman4233 5 หลายเดือนก่อน

    promo code doesn't seem to work

    • @swildermuth
      @swildermuth  5 หลายเดือนก่อน

      DAYOFASPIRE should work for 20% off.