Home 2018 › Forums › Crumble › Development › Naming variables
Tagged: readable code, variables
- This topic has 2 replies, 2 voices, and was last updated 8 years, 6 months ago by
Mike.
-
AuthorPosts
-
June 3, 2015 at 6:05 pm #2309
Mike
ParticipantNaming variables
This would go a huge long way towards self-documenting code. At the moment I’m having to write down on a bit of paper what each one means, which I lose. And then I can’t look at old code and see what it does. Ouchy.
June 3, 2015 at 8:16 pm #2310Simon
ModeratorMan up!
Your lucky to have single letter variable names!
In my day – we had to remember the hex address of the memory location we needed and also how many bytes it was using!
🙂I’m hoping that Joseph DOESN’T change this but concentrates on getting us access to the Crumble direct from Scratch so we can lever Scratch power for this 🙂
Simon
June 3, 2015 at 10:00 pm #2311Mike
Participantoh man – don’t take me back there! hand written assembler converted to hex and then plugged in byte by byte. hand debugging! argh!
direct from Scratch sounds really great! would it be a bit like the WeDo and simply plug in and play?
ty for all your dev on this
-
AuthorPosts
- You must be logged in to reply to this topic.