OneOf
VsVIM
Our great sponsors
OneOf | VsVIM | |
---|---|---|
25 | 4 | |
3,185 | 3,589 | |
- | 0.5% | |
2.9 | 4.6 | |
2 months ago | 22 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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.
OneOf
-
The Monad Invasion - Part 1: What's a Monad?
OneOf
-
Discriminated Unions: Essa feature faz falta no CSharp
Inclusive, para suportar esse tipo de funcionalidade, foi criada a biblioteca OneOf: mcintyre321/OneOf: Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching (github.com)
- Easy to use F#-like ~discriminated~ unions for C# with big compile time matching
-
Rolled my own Result<T,E> type that seems to work better than others.
Then I found discussion of the OneOf package, and then found some simpler Result code. I tried using that code but I found the use of Match and lambdas meant I couldn't simply break out of the loop in my example.
-
What's new in C# 12: overview
Until that feature lands there's this https://github.com/mcintyre321/OneOf which is pretty nice.
- The combined power of F# and C#
-
Exception handling between controller and service
Yep, it's called result pattern, aforementioned above. There was two highlighted implementations - OneOf, FluentResults.
-
Have you heard of AnyOf .NET Lib?
No he didn't. He made a video of the OneOf library. Not this one.
-
Have you heard of AnyOf C# Library?
We already have OneOf https://github.com/mcintyre321/OneOf I've used it in Production multiple times and it's an awesome way to keep everything strongly typed and eliminate null reference exceptions.
- What your hidden nuget gems ?
VsVIM
-
coming from neovim, should i use ctrl as normal mode?
I'd start with installing the VsVim extension and see how you go from there. https://github.com/VsVim/VsVim/wiki
- Can't enable VsVim on Visual Studio for Mac because of missing dependency
-
How to detect VsVim in .vimrc?
You’re right it is emulated vim - https://github.com/VsVim/VsVim
-
Vim and Vim Emulators
The three main Vim emulators I've used are VsVim for Visual Studio, VSCodeVim, and IdeaVim. I've had generally good experiences with all of them, and they can all effectively emulate the main features of Vim that I find useful. As long as I can use the standard motions and keybindings and create some simple imap and nmap rules, I'm happy. If the emulator supports macros and relative line numbers that's even better.
What are some alternatives?
language-ext - C# functional language extensions - a base class library for functional programming
AxoCover - Nice and free .Net code coverage support for Visual Studio with OpenCover.
csharp-monad - Library of monads for C#
OzCode - Demos that show the power of OzCode
ValueOf - Deal with Primitive Obsession - define ValueObjects in a single line (of C#).
Roslynator - Roslynator is a set of code analysis tools for C#, powered by Roslyn.
csharplang - The official repo for the design of the C# programming language
Git Diff Margin - Git Diff Margin displays live Git changes of the currently edited file on Visual Studio margin and scroll bar. Supports Visual Studio 2012 through Visual Studio 2022
Rop.OneOfExtensionGenerator - OneOf Helper Extensions Source Generator
Refactoring Essentials - Refactoring Essentials for Visual Studio
TensorFlowSharp - TensorFlow API for .NET languages
Nuget Package Manager - Repo for NuGet Client issues