Abdiel Lopez
Abdiel Lopez
This reply is long overdo ```go package main import ( "fmt" "reflect" ) type Person { public string Name } type Zombie { public Person Person public int32 InfectionAmount }...
> Nice. I do have one thought. It would be annoying if `fmt` automatically changes the order for you. I can think of use cases where the ordering of fields...
@marcelloh I agree. Only problem is "if it's a side effect, it's a feature" and the fact is, go uses reflection for JSON
I've been thinking of some syntax. Instead of val or var, how about `mut` and `const` `const` being used for one time assignment variables, and `mut` being the usual mutable...
> > it would be nice to check if a value is zero initialized > > Do you mean compare to zero value? you can always do this: > >...
You could also ignore errors by the following ```go func add(a, b int32) (int32, error) { return errors.New("This function failed") } func main() error { // result := add(0, 1)...
```go func main() error { result := add(0, 1)? log.Println("result:", result) } ``` From this code, what would be printed out if result was the error type? I just don't...
> I think the main reason is the fact that Zig's solution doesn't prevent the excessive return err all over the place, where the ? solution still allows you to...
why is this not merged yet
Was about to report the same issue when I found this. Here is what is missing and what I had to add for the latest tailwindcss version to work: ```css...