kstenerud/go
View on GitHub ↗ ★ 21 Go
The Go programming language, modified to emit warnings
22 mentions on Hacker News by 3 people: 3 stories, 19 comments · first 2019-04-18 · latest 2025-07-12
20082026
-
…themselves universally provided native linting facilities, possibly even enabled by default. [1] https://github.com/kstenerud/go [2] https://github.com/tpope/heroku-fucking-console
comment by fc417fc802 · 2025-07-12 · in Flix – A powerful effect-oriented programming language -
…language in my 25 year career. Hell, I even modified the damn compiler out of frustration! [1] [1] https://github.com/kstenerud/go#the-go-programming-language
comment by kstenerud · 2020-07-08 · in Keeping your Go modules compatible -
Ask, and ye shall receive: https://github.com/kstenerud/go#the-go-programming-language
comment by kstenerud · 2020-07-02 · in Go is boring, and that’s fantastic -
…I finally broke down and modified the compiler to add a -warnunused flag so I don't have to suffer. https://github.com/kstenerud/go#the-go-programming-language
comment by kstenerud · 2020-07-02 · in Go is boring, and that’s fantastic -
I maintain a modified compiler ( https://github.com/kstenerud/go/blob/master/README.md#the-go... ) that can issue warnings instead for unused things. I use it as my daily driver for go development. main.go: package main import "fmt" func…
comment by kstenerud · 2020-05-27 · in Diving into Go by building a CLI application -
…variables, and imports (warnings do not stop compilation or production of the final binary): https://github.com/kstenerud/go
comment by kstenerud · 2020-04-09 · in Go 1.14.2 and Go 1.13.10 are released -
Go with warning flag patch also upgraded to 1.14: https://github.com/kstenerud/go#the-go-programming-language The warning flag patch allows you to do: go build -gcflags=-warnunused go test -gcflags=-warnunused which causes the compiler to…
comment by kstenerud · 2020-02-26 · in Go 1.14 release notes -
…complier to add the -warnunused flag. It's fine to nag for this, but not to block the dev cycle. https://github.com/kstenerud/go
comment by kstenerud · 2020-02-23 · in The Zen of Go -
…it's "good enough", and at least it's simple enough to dig around in the guts when I have to. [1] https://github.com/kstenerud/go [2] https://github.com/kstenerud/go-describe [3] https://github.com/kstenerud/go-subvert
comment by kstenerud · 2020-02-23 · in The Zen of Go -
…of compilation! I may not agree with some of their philosophies, but the tooling is nice! [1] https://github.com/kstenerud/go
comment by kstenerud · 2020-01-22 · in Go's Tooling Is an Undervalued Technology -
…with its anal retentive source rules. I finally got so frustrated that I modified the compiler: https://github.com/kstenerud/go
comment by kstenerud · 2019-12-23 · in Lilith: x86-64 OS written in Crystal -
OMG absolutely perfect! I was afraid I'd have to do another https://github.com/kstenerud/go
comment by kstenerud · 2019-10-19 · in The V language now compiles itself in 0.09 seconds -
It's explained in the use case: https://github.com/kstenerud/go#use-case Use Case The use case for warnings is the exploratory development or debugging phases, where you really don't care about leaving unused things lying around for the…
comment by kstenerud · 2019-07-05 · in Go compiler internals: Adding a new statement to Go -
This is the commit in question: https://github.com/kstenerud/go/commit/334e03f12c9c94fe6aded... . Cool mod!
comment by mavelikara · 2019-07-05 · in Go compiler internals: Adding a new statement to Go -
…instead of errors for unused imports, variables, etc [1]. It was a fun little exercise :) [1] https://github.com/kstenerud/go
comment by kstenerud · 2019-07-05 · in Go compiler internals: Adding a new statement to Go -
…compile to make sure everything works. -- I prefer this method: - Install a custom go compiler from https://github.com/kstenerud/go - comment out a line of code to check something. - go test -gcflags=-warnunused - fix the bug. - uncomment…
comment by kstenerud · 2019-06-13 · in Why I Don't Like Golang (2016) -
…boils down to a language that outgrew its original design, and hasn't evolved elegantly (yet). [1] https://github.com/kstenerud/go
comment by kstenerud · 2019-06-12 · in Why I Don't Like Golang (2016) -
…etc [1] because I don't like fighting the compiler during debug or exploratory coding sessions. [1] https://github.com/kstenerud/go
comment by kstenerud · 2019-05-29 · in Russ Cox’s response to “Go Is Not a Community Driven Project” -
▲ 1
Go, modified to emit warnings for unused thingsstory by kstenerud · 2019-05-10 · 0 comments
-
Patch for "unused" warnings added to 1.12.5 and 1.11.10: https://github.com/kstenerud/go
comment by kstenerud · 2019-05-07 · in Go 1.12.5 and Go 1.11.10 are released -
▲ 2
Show HN: Golang, Modified to Emit Warningsstory by kstenerud · 2019-04-26 · 0 comments
-
▲ 1
Golang, Modified to Emit Warningsstory by kstenerud · 2019-04-18 · 0 comments