I wish this little sucker wasn't so retardedly autistic about using go fmt and maybe had a few more abstractions. Would've been so much easier to enjoy using it, I don't even mind if err != nil, but no, they had to suck the last bits of joy out of programming and just make everyone's code look exactly the same.
>>108630625It's a good thing that there's a mandated styling for the language retard. You don't want to be like C++ where there are 7 different major style guidelines.
>>108630709C++ is what it is not because there's no mandated style, but because the language itself is large. Go is small, but I guess they just wanted the last bits of individuality and creativity be removed so every codebase in Go is completely bland and uninspiring and people who wrote Go, even if they are creative, it'll beat them down.
>>108630870>NOOOOOOOOOO THEY WANT MY CODE TO NOT LOOK UGLY AND WEIRD AND FOR OTHER PROGRAMMERS TO BE ABLE TO EASILY READ IT>THEY'RE FUCKING STOMPING ME WITH MY BOOT AHHHH WHAT ABOUT MY CREATIVITY OF PUTTING THE BRACKETS ON THEIR OWN SEPARATE LINESThis is a false flag thread and you've probably never even actually written a line of Go.
>>108630895I've actually written quite a few lines of Go and I also just ignore and never use go fmt for my personal projects. As I do with linters and formatters in other languages.
>>108630911Why? Because you think putting brackets on their own line means you're "creative" and "inspired" or some retarded shit?
>>108630928no, brackets should be on the same line with ifs or whatever. But what I care about is alignment of various lines, like for example if you have several lines assigning values to vars, makes sense to align them around =. Or if sometimes I'd like ifs and {} to be on one line and also align it with the next line which might also have another if. This makes code easier to parse visually and faster to make sense of without reading every line individually.
>>108630957>var line alignmentgofmt LITERALLY does this for you
>>108631011right, maybe, but my point is, I don't want this done automatically for me, because this kind of alignment may be situational.
>>108630625>>108630870You don't have to use gofmt if you don't want to. But you will.
>>108631138i don't have to use go itself, and i won't.but op is clearly constrained by at least the choice of language AND dev workflow. otherwise, this whole thread would me meaningless.
>>108631165*would be meaningless
>>108631165>this whole thread would be meaninglessThat's 99% of the threads here.
>>108631165yes and no. I write a lot of D, which is very pleasant. I write Go and it's great for webshit, but I wish I could also use D for webshit - and I mean I could, but D doesn't really have any decent standalone templating language to use for html views and definitely no at as many nice libs I can reuse when I all of a sudden I need it. In other words, possible, but Go is a safe choice for web when you need it to be fast and compiled.
>>108631214if you have freedom of choice, you would probably be better off using rust* for a json api, and webshit-native crap for the ui**.* i don't know if D has a good enough ecosystem for this** svelte, or whatever is the hyped flavor of the month, i wouldn't know
>>108631426I will not use Rust because it's a giant time-sink and I'm not interested in participating in someone else autism. More importantly, having a language with GC is all I need ATM and if I ever need the additional benefit of not being slowed down by GC, I will pick something like Zig or BetterC (D without GC). Rust is just unnecessarily complex and 99% of what's written in it could've been written in a GC language in a fraction of the time. Also community is repulsive.
>>108630625I never understood the point of Go. Who wants a language that's as restrictive and devoid of modern features as C but with no pointers and with garbage collection? It's the worst of both worlds.
>>108631554>but with no pointersfucking retard jesus christ kill yourselfat least google before you post, or even asking ai would be better than just being a retard
>>108631572If you can't do pointer math on them, they're not pointers, just sparkling references.
>>108631592>A-A-ACTUALLY IM AN AUTISTIC RETARD cooool, cool, awesome. what i said still stands though kys
>>108631599Words mean things. Python has pointers by Go's definition.
>>108631604>"i wasnt being retarded enough so now im going to double down and say shit thats even MORE retarded"jfc learn when to stop
>>108631609Oh my Stallman, fine. Just read >>108631554 again but add the word "arithmetic" after "pointer".
>>108631624>what's the point of not being able to write to arbitrary memory in a memory safe language
>>108631638Why are gofags like this?
>>108631645I don't know, maybe because we aren't retarded? Why do you want buffer overflow exploits in your web microservice CLI program writing language?
>>108631658Why do I need a programming language specifically for writing web microservice CLI programs?
>>108631011I wish the Dart formatter had this
>>108631471>i get filtered easily, even before i try thingsokay, then the lack of more abstractions in go was probably for the best for people like you.
>>108631707I really like Dart, but I wish the Dart team pushed for it's VM to be officially included into Chromium. I don't want a build step, so I just switched to JavaScript the moment it got classes and became somewhat usable.
>>108631730right, buddy.> anyone who doesn't like Rust for good reasons is just filtered by it
>>108631690>goalpost shift and topic changejust admit you were wrong
>>108631737I use Dart for mobile and desktop apps with Flutter, occasionally for command-line tools.For serious web development, I use Clojure/ClojureScript. I wouldn't want to write a large codebase in a non-functional language ever again. Even in Dart I tend to avoid making new classes in favor of pure functions that manipulate records and generic data structures.
>>108631760Ok buddy call me when you have real generics.
>>108631744>it's a giant time-sink>not interested in participating in someone else autismrust is both smaller and (arguably) easier than D. so a person who claims to appreciate D, yet describes rust as a "giant time-sink" and "autism" is either lying about the D part, or haven't even tried rust, probably both.and rust wasn't even the point. use whatever good language (better than go) for the backend, and webshit-native crap for the frontend, was the crux of the point. rust just happens to have a good ecosystem (helped by proc macros) that makes spitting out highly performant backends trivial.
>>108631011>vim on buffer write triggertriggered and based.
>>108632086Rust is more complex than D and the fact that I have to prove the compiler my code is safe is what makes it a giant time sync for me. I value to be able to design my codebase the way I want, Rust makes it less convenient if at all possible, so that makes it a no go for me.
>>108632162Pretty sure that's Helix.
>>108634289I take it back. unbased and gay
>>108631744The fact that you mentioned zig means that you're almost certainly retarded.
>>108631950>ANOTHER goalpost shift and topic changelol
>>108634706It took you 8 hours to come up with that?
>>108632162>>108634289it is helix >>108634549it's just vim but better though?
>>108634711i was at a heavy metal music show, sorry for having a life?
>>108634716I forgive you.
*Just don't do it again.