Functional-go Alternatives
Similar projects and alternatives to functional-go
-
-
golang-set
A simple generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.
-
SonarLint
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
-
-
lo
💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
-
go_chainable
With generics, allowing chainable .Map(func(...)).Reduce(func(...)) syntax in go
-
go-generic-optional
Implementation of Optionals in Go using Generics
-
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
gtl
Golang Template Library (GTL). Common data structures using Golang generics. (by dgrr)
-
redpanda
Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
functional-go reviews and mentions
- functional-go/internal/generatefp.go
-
Go 1.18 Released
>> By introducing a single generic, you could reduce it from 500 lines to 20
No one is writing 500 lines of code - just as when you use the generics syntax you don’t write the code that is generated by the compiler in response.
You could save about 10 lines, specifically these 10:
https://github.com/logic-building/functional-go/blob/master/...
You would still need the comparable ~40 lines of “generic” code:
https://github.com/logic-building/functional-go/blob/master/...
earlv 17th century
>> instead of actually giving a shit about the perspectives of those who disagree with you
Now i resent that because i took the time to try and steelman your bad argument.
>> they couldn't be without copy/pasting their implementation for every single array type you wanted to implement them for
Not true, as i said there’s always been options for this:
>> if we need them to be generic over argument types - in the absolute worst case (so not using go generate to help us here or an interface…
Behind the scenes in the compiler, the syntactic sugar of generics are ultimately performing what you would do with “go generate“.
>> in every project that wants to use them
I don’t follow, why aren’t we allowed to create a library for code reuse like https://github.com/logic-building/functional-go/blob/master/... has done for example?
-
Do you see any interesting use cases for the upcoming type sets, other than generic type constraints?
Yes! There is this library that uses go generate for achieving functional patterns https://github.com/logic-building/functional-go. It would really benefit from such thing.
Stats
logic-building/functional-go is an open source project licensed under Apache License 2.0 which is an OSI approved license.
Popular Comparisons
Are you hiring? Post a new remote job listing for free.