---
title: "#match-case articles | Hashnode"
description: "Explore 3 articles tagged #match-case on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/match-case"
---

Tag

# #match-case

3 posts · 0 followers

[v like](https://hashnode.com/@likev) · [Feb 5, 2024](https://hashnode.com/posts/mimic-the-fall-through-behavior-of-switch-in-python/65c0790f65ef50b1c880d537)

### [Mimic the fall-through behavior of switch in Python](https://blog.iread.fun/mimic-the-fall-through-behavior-of-switch-in-python?utm_source=hashnode&utm_medium=feed)

What is fall-through In JavaScript, the switch statement allows for fall-through behavior. When a match is found in a switch statement, the corresponding block of code is executed until a break statement is encountered, at which point the switch stat...

6 min read · [blog.iread.fun](https://blog.iread.fun/mimic-the-fall-through-behavior-of-switch-in-python?utm_source=hashnode&utm_medium=feed)

[v like](https://hashnode.com/@likev) · [Feb 5, 2024](https://hashnode.com/posts/mimic-the-fall-through-behavior-of-switch-in-python-cn/65c083ca2b3afc54887c6111)

### [在 Python 中模拟 switch 语句的 fall-through 行为](https://blog.iread.fun/mimic-the-fall-through-behavior-of-switch-in-python-cn?utm_source=hashnode&utm_medium=feed)

什么是 fall-through 在 JavaScript 中，switch 语句允许 fall-through 行为。当在 switch 语句中发现匹配条件时，相应的代码块将被执行，直到遇到 break 语句，此时 switch 语句将退出。如果没有提供 break 语句，程序将继续执行下一个 case，而不管它是否与条件匹配。这就是所谓的 fall-through 行为。 switch (Animal) { case "Dog": case "Cow": co...

3 min read · [blog.iread.fun](https://blog.iread.fun/mimic-the-fall-through-behavior-of-switch-in-python-cn?utm_source=hashnode&utm_medium=feed)

[Albert Gubanja](https://hashnode.com/@andemus) · [Jan 3, 2023](https://hashnode.com/posts/does-the-switch-case-feature-exist-in-python/63b4a0809c92838ae85701c5)

### [Does the "switch case" feature exist in python?](https://andemus.hashnode.dev/does-the-switch-case-feature-exist-in-python?utm_source=hashnode&utm_medium=feed)

Many will probably say no. And they are not entirely wrong. Because there is nowhere they have seen switch case used in a python program. Indeed, switch case is a conditional feature that exists in most programming languages. In python, this feature ...

5 min read · [andemus.hashnode.dev](https://andemus.hashnode.dev/does-the-switch-case-feature-exist-in-python?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/does-the-switch-case-feature-exist-in-python/63b4a0809c92838ae85701c5)
