---
title: "Comment by Ivan Nikulin on \"It is an argument, not a trojan horse!\" | Hashnode"
description: "From my experience, the main problem with flag parameters is not that you have two I dependant logic in a function. The problem that such parameters &quot;sligh"
url: "https://hashnode.com/posts/it-is-an-argument-not-a-trojan-horse/5fdab6b41485f22e24b30cee/comment/5ff9dc17aa5c467fe1558abf"
---

[Discussion](https://hashnode.com/posts/it-is-an-argument-not-a-trojan-horse/5fdab6b41485f22e24b30cee)

Comment [It is an argument, not a trojan horse!](https://hashnode.com/posts/it-is-an-argument-not-a-trojan-horse/5fdab6b41485f22e24b30cee)

[Ivan Nikulin](https://hashnode.com/@vansanblch)

[Jan 9, 2021](https://hashnode.com/posts/it-is-an-argument-not-a-trojan-horse/5fdab6b41485f22e24b30cee/comment/5ff9dc17aa5c467fe1558abf)

From my experience, the main problem with flag parameters is not that you have two I dependant logic in a function. The problem that such parameters "slightly" change behavior. For instance, a flag that tell to send an email with results. Or flag that require to skip (or run) validation. And so on.
