# \#IZ6 True being evaluated to True when I want just true

**URL:** <https://forum.codecrafters.io/t/iz6-true-being-evaluated-to-true-when-i-want-just-true/6168>\
**Category:** Challenges\
**Tags:** challenge:interpreter\
**Created:** [March 6, 2025, 11:05pm UTC](https://forum.codecrafters.io/t/iz6-true-being-evaluated-to-true-when-i-want-just-true/6168 "2025-03-06T23:05:32Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![eaverdeja](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/eaverdeja/32/4167_2.png) [@eaverdeja](https://forum.codecrafters.io/u/eaverdeja)\
**Post date:** [March 7, 2025, 5:56pm UTC](https://forum.codecrafters.io/t/iz6-true-being-evaluated-to-true-when-i-want-just-true/6168/10 "2025-03-07T17:56:05Z")

</div>

You don’t _need_ to use the Visitor pattern - [others have done it differently](https://forum.codecrafters.io/t/anyone-implementing-the-interpreter-using-a-different-pattern-than-visitor/2112/3) .

But if you wanna have a smooth sail on the first part of the book (and the challenge) I’d say to go ahead and implement it. The AST generator presented in the book is not that hard to copy to python.

---

_[View the full topic](https://forum.codecrafters.io/t/iz6-true-being-evaluated-to-true-when-i-want-just-true/6168)._
