Skip to content

Commit

Permalink
dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgordonbell committed Jan 10, 2024
1 parent ac861b9 commit bbc07dd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 273 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/summarize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
git checkout -b $branch_name
curl -sSL https://install.python-poetry.org | python3 -
poetry install
poetry install --no-root
poetry run python util/psupport/psupport/scripts/excerpt.py --dir ./blog/_posts
poetry run python util/psupport/psupport/scripts/topcta.py --dir ./blog/_posts
Expand Down
2 changes: 2 additions & 0 deletions blog/_posts/2024-01-04-single-expression-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ author: Adam
internal-links:
- expressions
- if-expressions
excerpt: |
This article explores the concept of implicit returns, if-expressions, match-expressions, and single-expression functions in programming languages like Rust, Ruby, Kotlin, and Scala, highlighting how they can enhance code readability and conciseness. The author demonstrates the use of these expression-based concepts and encourages readers to embrace the power of expressions in their code.
---

If you are familiar with C-style programming languages, and ever touch Rust, Ruby, Kotlin, Scala, or even Julia there are some syntax and concepts that could initially appear confusing, unfamiliar, or unnecessary. I'm talking about implicit returns, if-expressions, match-expressions, and single-expression functions.
Expand Down
Loading

0 comments on commit bbc07dd

Please sign in to comment.