---
title: "Discussion on \"Understanding SOLID: \nSingle responsibility principle\" | Hashnode"
description: "Discussion on \"Understanding SOLID: \nSingle responsibility principle\". Meet John, again! 👋🏼 , John was asked to implement a login screen, and the TL asked him to create a Login screen with email validation, providing him with some validation rules:\n\nEmail should end with @gmail.\nEmail should not include special charac..."
url: "https://hashnode.com/posts/single-responsibility-principle/62a498b5165482d2b3eebadb"
---

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

Discussion

[Ashraf Mohamed](https://hashnode.com/@ashraf47)

Software Engineer

Jun 11, 2022

# [Understanding SOLID: Single responsibility principle](https://ashraf-mohamed.hashnode.dev/single-responsibility-principle?utm_source=hashnode&utm_medium=feed)

Meet John, again! 👋🏼 , John was asked to implement a login screen, and the TL asked him to create a Login screen with email validation, providing him with some validation rules: Email should end with @gmail. Email should not include special charac...

ashraf-mohamed.hashnode.dev 5 min read

[#kotlin](https://hashnode.com/tag/kotlin) [#solid-principles](https://hashnode.com/tag/solid-principles) [#software-engineering](https://hashnode.com/tag/software-engineering) [#clean-code](https://hashnode.com/tag/clean-code) [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Responses 2

Markdown supported · ⌘↵ to post

[Ahmad Khattab](https://hashnode.com/@AhmadAchrafKhattab)

Software Engineer

[Jun 13, 2022](https://hashnode.com/posts/single-responsibility-principle/62a498b5165482d2b3eebadb/comment/62a6fabe165482d2b3ef0810)

Good job, It's very clear and informative 👌

[Miki Szeles](https://hashnode.com/@mszeles)

Everything related to test automation

[Jun 11, 2022](https://hashnode.com/posts/single-responsibility-principle/62a498b5165482d2b3eebadb/comment/62a4e851165482d2b3eec395)

Great article again, Ashraf. 👏👏
