You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
were normalized to remove "_" from them.
However this convention hurts readability in my opinion. Everything just blends together. Compare:
simdwidthof
simdbitwidth
simdbytewidth
It is not easy do determine which of those 3 was used at first glance.
I propose to add "_" as a word separator. Total length won't be increased so much (at most 2 chars), but readability "at first glance" will increase a lot.
Most methods in Mojo also have separated words, so here is no big reason for exception, especially due to the fact, that mostly 3 words are combined.
The text was updated successfully, but these errors were encountered:
gryznar
changed the title
Add "_" as a words separator to methods in TargetInfo
[Feature Request] Add "_" as a words separator to methods in TargetInfo
Aug 9, 2023
JoeLoser
changed the title
[Feature Request] Add "_" as a words separator to methods in TargetInfo
[Feature Request][mojo-stdlib] Add "_" as a words separator to methods in TargetInfo
Feb 21, 2024
Recently methods from
TargetInfo
:were normalized to remove "_" from them.
However this convention hurts readability in my opinion. Everything just blends together. Compare:
It is not easy do determine which of those 3 was used at first glance.
I propose to add "_" as a word separator. Total length won't be increased so much (at most 2 chars), but readability "at first glance" will increase a lot.
Most methods in Mojo also have separated words, so here is no big reason for exception, especially due to the fact, that mostly 3 words are combined.
The text was updated successfully, but these errors were encountered: