# \#\_\_init\_\_

**URL:** https://get-help.theconstruct.ai/tag/init/73.md

[Latest](https://get-help.theconstruct.ai/latest.md) · [Categories](https://get-help.theconstruct.ai/categories.md) · [Tags](https://get-help.theconstruct.ai/tags.md)

---

## [Class attributes not initialized within \_init\_ method (ROS 5 Days, Topic 8)](https://get-help.theconstruct.ai/t/class-attributes-not-initialized-within-init-method-ros-5-days-topic-8/7482)

<div class="topic-metadata">

**Author:** [@izzatfadzlon](https://get-help.theconstruct.ai/u/izzatfadzlon)\
**Replies:** 4\
**Last updated:** [January 14, 2021, 8:42am UTC](https://get-help.theconstruct.ai/t/class-attributes-not-initialized-within-init-method-ros-5-days-topic-8/7482 "2021-01-14T08:42:58Z")

</div>

A (not-so)quick question regarding class attributes : From what I’ve learnt regarding classes(still rather shallow i feel), i always thought it was good programming practice to define any attributes that will be used in…
