T
O
P
simbet77.com
HOME
HOME
×
Search
BLOG
I'm a backend guy trying to learn front-end, so it was a calculator to be done in Spring, should use rest and I'd get extra points for integrating with RabbitMQ.
By -
cmov
2 weeks ago
I have this wet nerdy dream where Linus Torvalds decides git and scuba diving sw is not enough legacy. Hence he goes on developing a better programming language, plus a full office suite that internally uses restructedText 2.0.
By -
bzmore
1 month ago
I come from Java and I never understand this demand for generics in GOlang community. In Java I don't remember the last time I use generics.
By -
cmov
1 month ago
The one tiny drawback is that the globals have to be variables instead of constants, but that’s one of those problems that really only exists in the theoretical realm. I’ve never seen a bug from someone overwriting a global variable like this, that is intended to be immutable.
By -
cmov
1 month ago
All my code is tested for both leaks and all scenarios. None of my code ever have gone bang in production. To be honest, no service I have written ever restarted outside system reboots or configuration changes.
By -
cmov
1 month ago
Was the concept of generics a thing before Java implemented it? That is, could they have known?
By -
cmov
1 month ago
I can't imagine being a programmer without starting out by becoming proficient in assembler. It takes a lot of mystery out of programming languages because you know whatever the syntax is it all ends up as branches, calls, stacks, registers and memory accesses.
By -
cmov
2 months ago
Last year I was working on a project and I used C# [..] even though I knew Go would be a better choice. I spent 2 days creating the program and it could process all our files/data in about 40+ minutes. I then spent the next day rewriting it in Go which could process everything in about 1 minute.
By -
cmov
2 months ago
V functions are pure by default, meaning that their return values are a function of their arguments only, and their evaluation has no side effects (besides I/O).
By -
cmov
2 months ago
I will never return back to Node.JS after writing Go
By -
zygohistomoronism
2 months ago
I think that "generics" in general are a trap, a lot like object oriented programming, or that functional programming ideal of a -> a functions, functions that work with any type.
By -
cmov
2 months ago
This is the truth. In the “middle-America” of software development, where your team are average, Go is the right choice almost always.
By -
cmov
2 months ago
Yes, obviously, there was something fishy with the Rust implementations. Did I took the time to find it? No, after spending an afternoon I decide to just use Go and call it a day.
By -
cmov
2 months ago
We simply don't have better kernels. POSIX is the epitome of infrastructure. That's it. We did it. It's like asking for something more than Turing completeness - we have everything.
By -
cmov
2 months ago
The assumption, then, is that the coder that did manual memory management did so better than the GC could. But some very brilliant computer scientists developed the garbage collector for Go, and beating it is nontrivial.
By -
cmov
2 months ago
Introducing Warp: The Terminal for the 21st Century
By -
cmov
2 months ago
"Who'd have known that generic strongly-typed containers would be so useful? :D" -"Certainly, not Rob Pike."
By -
pastenpasten
2 months ago
The fact that methods are not allowed to have generic type params is either the biggest mistake the Go team has done to the language, or the most ingenious move. It's kinda hard to decide.
By -
cmov
2 months ago
I'd be curious about the overhead if the browser was running in kernel space.
By -
cmov
3 months ago
I was just trying to explain these to my mother, in the context of rust.
By -
bbdbdd
3 months ago
Interfaces [in Go] cannot have generic methods because those would need to be instantiated at runtime, which would require runtime codegen.
By -
cmov
3 months ago
Generics feel like OOP creeping back into popular programming culture.
By -
cmov
3 months ago
I've got [a program] called 'heater' or similar that I used to warm up a macbook in a cold office.
By -
snorc_snorc
3 months ago
Mark my words, another language will emerge in the future, with the specific goal of not having generics. It will be a nice, small, to the point, effective, and easy to read language. Then the people who are getting irritated with Go will start using it. First thing they will demand is generics…
By -
cmov
3 months ago
Haha, many people (including me to some degree) would find [that YouTube renders HTML on the server] disgusting and really bad practice.
By -
cmov
3 months ago
Hi Its Me!
R
cmov
Subscribe
Enter email address
SUBMIT NOW
FIND US ON INSTAGRAM
@simbet77.com