Indeed, both good answers, but flow coding is nothing new, and most flow chart coding apps build that app with the logic you need without providing the entire base blocks of code. For instance PicBasic, Flowcode and many others, They simply take the blocks of logic you want, and write them into the tight little page of code that only contains what it needs to run. Makes it very fast, useful, handy, and no bloat.
Thanks for your answers.