• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle

  • al4s@lemmy.worldtomemes@lemmy.worldThe last hope
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    Don’t be ridiculous, that would never pass QA.

    But this one will. Joy for years to come:

    public string GetDayOfWeek(DateTime date) {
        return ((date - new DateTime(1970, 1, 1)).Milliseconds / 86400000) % 7 switch {
            0 => "Thursday",
            1 => "Friday",
            2 => "Saturday",
            3 => "Sunday",
            4 => "Monday"
        };
    }
    



  • There’s a couple of reasons straws might be convenient or even necessary:

    • You have a disability that causes movement problems like shaking
    • Limited neck/shoulder/arm mobility or a swollen lip (The latter makes it hard to get a proper seal)
    • You wear lipstick or other makeup that could get washed away
    • Your edibles were too strong
    • You can build containers that don’t spill when they fall over

    (Edit: Add text at the beginning instead of just throwing a list out there)