Thinking about and I'm wondering if an underscore prefix would be a reasonable style guide for interfaces, because I'm going for snake case and putting 'i' on the front of things could be ambiguous, but 'i_' uses up lots of space, so why not just '_'. Some examples:

interface _myiface ;

class someclass : _myiface ;

I think it looks ok.

Remembering that it's a style guide, so this would be what stdlib uses, but it's not enforced by the compiler.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!