does anyone need a GUI system?
BlitzMax Forums/BlitzMax Beginners Area/does anyone need a GUI system?
| ||
http://www.blitzbasic.com/codearcs/codearcs.php?code=2436 |
| ||
No, but if you have a Transformer... You know... A robot in disguise, I'll have that! :D Seriously though, I may need some GUI, so I'll bookmark it... Thanks for the share! ;) Dabz |
| ||
Its more than meets the eye though |
| ||
What meets my eye is a very unusable, un-indented, block of code. |
| ||
youu son of a.... the download at the top of the page provides images and a demo |
| ||
youu son of a.... Hmm? the download at the top of the page provides images and a demo That solves the very non-adaptable code issue? |
| ||
why is it non-adaptable? |
| ||
I believe Plash's issues is with the lack of indentation, where "programmers indent to better convey the structure of their program to human readers. In particular, indentation is used to show the relationship between control flow constructs such as conditions or loops and code contained within and outside them." (wikipedia) Ignoring for now Noel's formatted version (quiet at the back, Noel!), it does make it reasonably difficult to understand the code without actually spending a lot of time studying it. It appears Plash is one of those "human readers" as described above ;-) |
| ||
I didnt realise it was that important for code to be indented, |
| ||
its prefered if someone other than the coder has to use it and needs to bug hunt through theirs and your code then every little helps and as with commenting code its also a boon to the original coder some time down the line, to be able to understand something they may have forgotten they even wrote and say "ahh this is the subroutine/function/whatever i want to tweak" |
| ||
@Ginger Tea: Precisely. Also, without comments and a good naming convention, it can be quite hard to poke around. |
| ||
a guy i knew oop norf used to just add random names to his c code when at college his nick name was sooty so sweep and sue also found themselves in functions, until he had to go back to his code after the winter break what arguments sooty was passing to sue always made sweep squeak that analogy would work better if i knew what i was on about ;) |