• 1 Post
  • 23 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle




  • I don’t understand the need for Ctrl-C/V, when manually copying the text exists. I know it’s snarky, but that’s the level of difference we’re talking about here. Or imagine, to delete a line, someone Right Arrows 50 times, then backspaces 50 times, instead of using the shortcut.





  • Wenn es auf einem Server läuft, läuft es zu 99% auf Linux. Wenn bei der Stellenanzeige Windows nicht explizit dabei steht, kannste fest davon ausgehen, dass zumindest die Entwicklung für Linux ist (oder eben “linux freundlich” ist).

    Outlook und Teams wirste nicht so leicht los. Aber als reiner Benutzer finde ich die passabel.



  • r1veRRR@feddit.detoProgrammer Humor@programming.devGolang be like
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    2 years ago

    It’s better than “invisible” exceptions, but it’s still the worst “better” version. The best solution is some version of the good old Result monad. Rust has the BEST error handling (at least in the languages i know). You must handle Errors, BUT they are just values, AND there’s a easy, non-verbose way of passing on the error (the ? operator).


  • While I understand the idea behind using CSS “correctly”, I have, in my 15 years of professional experience, never ever seen even one project where the hypothetical promises of CSS were actually realized. It ALWAYS ends up with a fuckton of importants, or hunting for ages for the one class fifteen levels of abstraction up that changes your one element, coming up with more and more absurd class names, until they are literally no different from just some random name. Tailwind might seem horrible in a theoretical sense, but in an actually using it sense it’s a heaven sent. I want to change the padding on THIS ONE SINGLE ELEMENT, I change it EXACTLY RIGHT THERE where the element is defined, and i can be absolutely sure that I haven’t accidentally cascaded someone else’s work to death.

    #CSS, in practice, is the insane idea of every single element on your website sharing global, mutable state, and thinking that’s in anyway smart.




  • To get annoyingly serious on a funny post, the one huge danger of GUIs that I’ve personally witnessed in many of my juniors is that they abstract away the need to understand the tool you’re using.

    I regularly use a Git GUI, and I might have to google the rebase command for more complex tasks, but I know how Git works. I know what I can do with rebase, even if I don’t exactly know how to. If you only live in the GUI, you can get far never understanding the system. Until one day, when you fuck up a commit or a push, and you’re totally hosed because there isn’t a pretty button with the exact feature you want in your GUI.





  • Die Motivation hinter den ganzen Genderansaetzen ist zwar gut, aber alle Ansaetze sind so extrem deutsch: Verkompliziert und fuer jeden umstaendlicher.

    Ich fand die Idee von Alicia Joe am besten:

    • Keine Movierungen mehr (also kein Witwer mehr, sondern alle sind Witwe zB)
    • Die Grundform ist ueberall explizit genderneutral gemeint (der Baecker ist IMMER neutral, nicht nur manchmal)
    • Wenn das Gender wichtig ist, wird explizit maennlich/weiblich/non-binaer/etc. davor gesetzt (der maennliche/weibliche Baecker)

    Das ist einfacher fuer alle, macht die Sprache mMn sogar einfacher fuer Fremdsprachler und benoetigt keine weirden Wortneuschoepfungen. Vorallem ist es fuer Gegner schwerer sich dagegen zu bekennen, weil den bisherigen Standard als Grundform weiter benutzt. Ein Hater muss also mehr Aufwand/Worte reinstecken als ein Supporter, statt andersrum.