---
title: "Discussion on \"Practical Code Smells - Sample 1\" | Hashnode"
description: "Discussion on \"Practical Code Smells - Sample 1\". Take a look a this code, share in comments what are your thoughts/notes about it?\nstruct Bottles {\n    func song() -> String {\n        verses(from: 99, downTo: 0)\n    }\n\n    func verses(from high: Int, downTo low: Int) -> String {\n        (low...high..."
url: "https://hashnode.com/posts/practical-code-smells-sample-1/658143040a71ba7091091cdd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Practical Code Smells - Sample 1](https://shendy.hashnode.dev/practical-code-smells-sample-1?utm_source=hashnode&utm_medium=feed)

Take a look a this code, share in comments what are your thoughts/notes about it? struct Bottles { func song() -> String { verses(from: 99, downTo: 0) } func verses(from high: Int, downTo low: Int) -> String { (low...high...

Dec 19, 2023 · 3 min read · shendy.hashnode.dev  
Read the article

-   [#code-smell](https://hashnode.com/tag/code-smell)
-   [#swift](https://hashnode.com/tag/swift)

## Written by

[Ahmed Shendy](https://hashnode.com/@devahmedshendy)

@devahmedshendy

  
[View profile](https://hashnode.com/@devahmedshendy)

Software Developer - iOS - Transitioning to AI Engineering

I’m a Software Engineer with nearly 5 years of hands-on experience, primarily in iOS development. I work best on problems with ambiguity: understanding unfamiliar domains, breaking down complex problems, making technical trade-offs, and taking ownership from problem to working product. My experience includes UIKit, SwiftUI, architecture, CI/CD, real-time Bluetooth integration, navigation, payments, and working across product and backend boundaries. I’m currently transitioning into AI Engineering, building on my software engineering and earlier systems background rather than starting from scratch. GitHub: https://www.github.com/devahmedshendy

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
