Hacker News new | ask | show | jobs
by vvanders 3628 days ago
You don't. Worst case is you had wrong assumptions and restart the program, same as if you didn't have the ability to change things.

Best case thought, it's so useful. It's also incredible for editing tunables on the fly(think videogame gameplay values, layout values for UI, etc).

2 comments

Worst case is you don't know you broke consistency. Then you can waste hours hunting for ghost bugs that only occur because of the hot-code-reload.
As someone who worked on dynamic updating research projects for years I can attest to the really shitty bugs dynamic updating can cause.
Editing tunables is possible without recompiling new code. It's just setting the variables to new values.
Not if you want to change the formula the the tunable uses.