python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Better solutions to long pattern matching chains (for Dart)
I've often found myself having to use annoying patterns like:
ClassA extends BaseClass {
static bool is(val) { ... }
}
ClassB extends BaseClass {
static bool is(val) { ... }
}
...
ClassZ extends B...
user3210986
Votes: 0
Answers: 3
DrRacket: Desurgaring all uses of and, or, not into nested ifs
So I am currently learning how to program and we started with DrRacket. This week the task consists of using pattern matching and working/translating expressions into s-expressions and vice versa. I w...

user17949498
Votes: 0
Answers: 1
How to save an object unknown at compile time to a variable by pattern matching in Rust?
TLDR; How do you make Rust's pattern matching behave dynamically like Python 3?
I'm quite new to Rust, and I struggle with a certain concept / code snippet.
I'm trying to assign an object that is unkn...

user17941677
Votes: 0
Answers: 2
What family of algorithms should I look at to extract words from a sentence
I am building a basic workout logger that would save and display some statistics about your number of repetitions per movement over a period of time. The challenge here (for me at least) is that I wan...
Remaori
Votes: 0
Answers: 0