Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in vs int #38

Open
shaneasd opened this issue Dec 29, 2021 · 0 comments
Open

in vs int #38

shaneasd opened this issue Dec 29, 2021 · 0 comments

Comments

@shaneasd
Copy link

I was playing around with the prototype compiler on godbolt and ran into a frustrating problem. When I'm programming (particularly when experimenting admittedly) if I type in there is an exceedingly high chance I'm about to follow it up with t and type int. This is particularly true at the start of the declaration of a function parameter. Practically the consequence of this was that the key sequence I used to type the in keyword was almost always i+n+t+backspace which was quite annoying. I wonder if this might similarly affect tools which try to be helpful by autocompleting things for you.

Ultimately I suspect this is one of those "just deal with it situation" where over time I will retrain my fingers to not follow up in with t but if there were any good alternate contenders this might be a tie-breaker consideration.

My first thought for an alternative was input. I don't know if that would have the same issue but intuitively I think not. However input and inout are probably too similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant