[chbot] naming of variables
Stephen Irons
stephen.irons at clear.net.nz
Thu Aug 6 10:59:23 BST 2015
Jack Ganssle is an entertaining speaker, and very down-to-earth. I heard
him about 15 years ago at an Embedded Systems Conference in San Jose, and
have always wanted to hear his 'Better Firmware Faster' seminar.
Well, he is bringing it to Auckland on November 16, for a cost of USD700
per person, or USD600 per person for a group of three. If you have anything
in your training budget, this would be a good thing to spend it on.
Stephen
On 6 August 2015 at 09:55, hamster <hamster at snap.net.nz> wrote:
> They are all pretty sane and well justified to me.
>
> I strongly agree with like adding units on variable that hold quantities.
> I sit on the fence of the "uint8_t" vs "unsigned char" debate.
>
> The taxonomy idea is a bit silly. I would just say put the noun before
> verb - e.g. picture_new() and picture_draw(), not new_picture() or
> draw_picture()
>
> One I don't like is that you shouldn't use acronyms in variable names
> global_positioning_system_latitude is silly - and he can pry 'c', 'i', 'j',
> 'k' and 'n' from my cold dead hands :0!
>
> On 06.08.2015 06:42, Mark Atherton wrote:
>
> Hello all,
>
> This man has some opinions on the subject https://www.youtube.com/watch?v=FvzdONIqDJ8
>
> I rather like most of them ...
>
> -mark
>
> (pull pin, chuck pineapple, run :)
>
>
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for
> venue, directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20150806/f22a098f/attachment-0001.html>
More information about the Chchrobotics
mailing list