Skip to content
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.

Suggest naming prefixing all unsafe member functions with unsafe #34

Open
@odinthenerd

Description

Here https://github.com/roboterclubaachen/xpcc/blob/develop/src/xpcc/architecture/driver/atomic/container.hpp#L158 atomic::Container provides an unsafe function, which is perfectly usefull and ledgitimate. However there is a convention of prefixing all function which violate assumed constraints with 'unsafe' as in unsafeDirectAccess. That way the user or code reviewer knows when they must read the documentation and when they can just assume the best. I would suggest using this convention in xpcc.

This is more of a topic for a mailing list but I did not find one here http://xpcc.io/sitemap.html, I have been known to be stupid though ;)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions