gofpher
scala
gofpher | scala | |
---|---|---|
2 | 49 | |
9 | 14,354 | |
- | -0.0% | |
0.0 | 9.7 | |
almost 8 years ago | 5 days ago | |
Go | Scala | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gofpher
-
Functional Programming Library for Golang by IBM
I'm glad to see this idea getting some traction again. I haven't used Go much in the last few years, but I started writing playing around with a similar idea back in 2016 when I was working on a small compiler for a configuration management tool, and later put together a [small stand-alone proof of concept library](https://github.com/rebeccaskinner/gofpher) as part of a [talk](https://speakerdeck.com/rebeccaskinner/monadic-error-handlin...).
At the time, I remember finding FP in go surprisingly ergonomic. Implementing the library to support it was a pain since the type system wasn't expressive enough to prevent everything from devolving into a pile of untyped reflection, but it was reasonably easy to keep that an implementation detail. On the whole, I felt like go would have lent itself well to the "dash of FP for flavor" style of programming that seems to be gaining popularity these days. Unfortunately, in 2017 at least, the Go community seemed to have very little interest in the idea.
I still have a fondness for Go. It always felt nice to use. If the language features have caught up to the point where a robust library like this is feasible, and the communities attitude has shifted, I might take another look at the language.
-
Learn Go in ~5mins
Monadic error handling like in ML work-alikes, Rust etc. would be a good start. Adopt:
• https://github.com/rebeccaskinner/gofpher
• https://speakerdeck.com/rebeccaskinner/monadic-error-handlin...
I've been talking to the local Go user group. No one even knows about that concept. This continues a pattern of general ignorance/lack of looking beyond one's horizon I've noticed.
scala
-
Top FP technologies
Scala
-
TypeScript's Lack of Naming Types and Type Conversion in Angular
Elm, ReScript, F#, Ocaml, Scala… it’s just normal to name your types, then use them places. In fact, you’ll often create the types _before_ the code, even if you’re not really practicing DDD (Domain Driven Design). Yes, you’ll do many after the fact when doing functions, or you start testing things and decide to change your design, and make new types. Either way, it’s just “the norm”. You then do the other norms like “name your function” and “name your variables”. I’m a bit confused why it’s only 2 out of 3 (variables and functions, not types) in this TypeScript Angular project. I’ll have to look at other internal Angular projects and see if it’s common there as well.
-
Programming in Scala as a "Better" Java
Scala is a programming language for the JVM born in 2004 that is both object oriented and functional. Since it runs in the JVM it can call any Java method and be called by any Java method. So, moving from Java to Scala is practically pain free, all you have to do is learn the new syntax. You have all the Java libraries at your disposal plus all the improvements Scala has to offer. Even though Scala is both OOP and Functional it doesn't force you to use either of the two paradigms and so it can just be used as a simple OOP replacement for Java with great benefits to speed of coding and readability. In this article I will not get into the details but just show you enough to make you curious and try it. If you want to dive deeper here is a link for you: https://www.scala-lang.org
-
Counted B-Trees
Funnily enough this is (was?) used by the Scala collection library's TreeSet/TreeMap, for fast performance of the `take` and `drop` operations. This is a red-black tree though, not a B-Tree.
Commit https://github.com/scala/scala/pull/82/commits/b7e671446892c... of PR https://github.com/scala/scala/pull/82
-
Groovy 🎷 Cheat Sheet - 01 Say "Hello" from Groovy
Recently I had to revisit the "JVM languages universe" again. Yes, language(s), plural! Java isn't the only language that uses the JVM. I previously used Scala, which is a JVM language, to use Apache Spark for Data Engineering workloads, but this is for another post 😉.
-
Top Paying Programming Technologies 2024
8. Scala - $96,381
-
Server side(Backend) programming languages
Scala
-
Functional Programming Library for Golang by IBM
Big Scala vibes here, see also [1].
1: https://github.com/scala/scala/blob/v2.13.11/src/library/sca...
-
Scala 2.13.11 and 2.12.18 are here
For details, refer to the release notes on GitHub: * https://github.com/scala/scala/releases/tag/v2.13.11 * https://github.com/scala/scala/releases/tag/v2.12.18
-
Scala vs Java -The Ultimate Showdown
Scala is the next-generation Java virtual machine (JVM) language that is rapidly gaining popularity as a modern alternative to Java.
What are some alternatives?
FuncFrog - Stream api (kind of) implementation for go, other useful functions and packages to use go in a functional way
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
fp-go - functional programming library for golang
rust - Empowering everyone to build reliable and efficient software.
gotests - Automatically generate Go test boilerplate from your source code.
kotlin - The Kotlin Programming Language.
lo - 💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
mo - 🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
fp-ts - Functional programming in TypeScript
F# - Please file issues or pull requests here: https://github.com/dotnet/fsharp