News for hackers. Stuff that matters.
Re:Fun with Go Iterators by acheong08 on Thursday October 10, 2024 @02:08PM (#41801521)
> Tips for lazy developers > I cannot recommend it, but in case you are too lazy for repeating lo. everywhere, you can import the entire library into the namespace.

    import (
        . "github.com/samber/lo"
    )
TIL. Crazy
Re:Fun with Go Iterators by s6af7ygt on Friday October 11, 2024 @03:40AM (#41807217)
I just hate the fact that Go is super simple and clear but people try to make it complex with this kind of stuff. :( Makes me sad.