Comment by geenat

4 years ago

Thought this at first but it's just tailwind css aliases. They are interchangeable with the full name.

fs = font-size

fw = font-width

ta = text-align

c = color

what I don't understand is why not have these abbreviations as snippets (text expansions) in the IDE, instead of language primitives?

So that the primitives match what people are familiar with from before, and match the actual web standards/specifications.

So that code which is reproduced and communicated online is also immediately readable for people who are not familiar with the abbreviations.

To gain adoption, reducing onboarding friction is key, and judging from my impression of Imba, as well as others' comments here, I think a lot of that unnecessary friction could be reduced.

On the other hand, if pros like reading very terse code, maybe an IDE plugin could be made to toggle the abbreviations.