Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

classes in inline_scripts

Does it make sense to write code in classes in inline_scripts?

Comments

  • edited March 2024

    Hi @_nina_ ,

    There is no fundamental difference between writing classes in inline_scripts or in regular Python scripts: it is possible, but whether it makes depends on what you need to implement, and your preferred coding style. Personally, I tend not to do this very often, because most functionality that I need in experiments is simple enough that it doesn't really benefit from classes.

    Hope this helps!

    — Sebastiaan

Sign In or Register to comment.