Hacker Newsnew | past | comments | ask | show | jobs | submit | zarlo's commentslogin

Godot still defaults to .net 8


One thing I really, really wish Go had was met a daughter that was checked at compile time.

me miss spelling a tag has burnt me so many times.


This comment is comedic perfection


Metadaughter? Like metadata but with an Australian accent?


Go is also very much a batteries included language when it comes to their standard library. Like it even comes with an ORM. Most people use the Http server that comes with standard library. even more so now that the router for it is a lot better.


with Go, they have made one commitment. The language will always be backwards compatible. So code written in today's go should still be able to be compiled in 30 years using the compiler of the day. That means when adding new language features, they are very, very, very particular and stubborn about it.


Every mature programming language places a very high priority of backwards compatibility, including C#. Microsoft introduced generics, LINQ, async/await, pattern matching, records, nullable reference types, and numerous other features while maintaining a very high degree of backwards compatibility.

But either way, this merely provides an excuse as to why Go is actively hostile to it's users. But backwards compatibility and language evolution are not mutually exclusive.


I thought they changed how variables are captured in for loops at one point didn't they?


There have been changes in Go already, even if minimal.


For me, I use both languages. But there's a lot of things which are only like a couple lines or very easy to do in .NET but to do it in Go is a lot of work.

Some example.

Open API document generation using type handlers doing this in go was a pain in .net is comes out of the box.

A lot of people underestimate the power of extension methods.

.nets metadata system is compiled time safe where Go is not and this has burnt me a lot.

I really like go for command line tools Small binary sizes I lovely.

go's standard library is significantly more hackable than .nets there have been a few things where I've ended up using Go because to do it in .net would require me maintaining a fork of the standard library.

Go makes composing data insanely simple. where in .NET you can have an equivalency but it will be done via interfaces.

Go's Dark Type System is both great and really annoying.

C#'s stricter type system when it comes to interfaces can be really handy as that can be used as metadata to change how data is processed and enforce compile time checks.


IEnumerators can also be value types So no heap allocation, just stack.

slightly off topic but a lot of things in .NET actually use compile time duct typing. like how async works To make your own task, you don't add an interface to it. You just implement a single method.


Yeah, I'm not going to use a toolchain where if my project is successful, I'm going to end up having to pay.


i am upset that both spaces and tabs are used in the sql code blocks the first 3 use tabs and the last 2 use spaces


its likely you have low bounce rates so they are allowing it


i have self hosted for years never had any issues with people not getting emails


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: