SinTan1729
- 2 Posts
- 9 Comments
SinTan1729@programming.devto
Programmer Humor@programming.dev•C++ takes decades to masterEnglish
01·3 months agoFair enough. I’m not a professional programmer, so I guess I won’t understand your frustration with long term maintenance of Go code. I do agree that it can be unnecessarily verbose. Writing something as simple as an
httpserver takes a long time. Also, the dependency management sucks. It can’t seem to decide if it wants to be declarative or not.I do like that it’s dead simple though, and that the standard library has most of the basic stuff. I’ve mostly replaced the need for Python with Go, for small CLI apps. Nowadays, I only use Python when I have to use some specific library, mostly for mathematical computing.
SinTan1729@programming.devto
Programmer Humor@programming.dev•C++ takes decades to masterEnglish
01·3 months agoYes. IIRC, the flavor that I used was MSWLogo.
SinTan1729@programming.devto
Programmer Humor@programming.dev•C++ takes decades to masterEnglish
01·3 months agoI don’t think there’s an
std-way of doing it, but the Rust ecosystem has this thing where people usually settle around one library. In this case, it istokio. Afaik, most async stuff is done usingtokio. What littleasyncI’ve used, it’s been usingtokioor some library likeactix-webthat usestokiounder the hood.Also, side note, I never understood the idea of why
golangis ugly. I think it’s fine, except for maybe the repeatedif err != nilguards. Those are ugly. I wish it used additive types for error handling.
SinTan1729@programming.devto
Programmer Humor@programming.dev•C++ takes decades to masterEnglish
01·3 months ago
SinTan1729@programming.devto
Programmer Humor@programming.dev•C++ takes decades to masterEnglish
01·3 months agoI’ve always preferred the functional approach to programming, so OOP never really intrigued me. That’s one of the reasons why I never liked C++ or Java, but instantly fell in love with Rust. It lets me do a lot of functional style programming, while still being somewhat practical. (I’m looking at you, Haskell.)
SinTan1729@programming.devto
Programmer Humor@programming.dev•C++ takes decades to masterEnglish
01·3 months agoMy first ever big boy language was C++ (after Basic, and Logo, does anyone remember that lol). I was in middle school, tried to self-learn from learncpp.com, only to realize that I had mostly learned C, with cin-cout instead of printf-scanf. So I just decided to migrate to C. Nowadays, I mostly code in Rust, Go, and Python. But my experience with C has been extremely helpful. Can’t say the same about C++ though.
SinTan1729@programming.devOPto
Selfhosted@lemmy.world•Chhoto URL v7 is out now: A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.English
01·4 months agoThanks. Hope you like it.
SinTan1729@programming.devOPto
Selfhosted@lemmy.world•Chhoto URL v7 is out now: A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.English
01·4 months agoThanks. Just a small correction. The API isn’t really REST, it’s REST-ish but probably closer to JSON-RPC.
Thanks. Filtering does not cover expiry, but it does cover shortlinks, longlinks, and notes. Making expiry work will make the filtering inefficient for little benefit, since the expiry times are stored as UNIX timestamps in the database.