dalias ,
@dalias@hachyderm.io avatar

In case folks won't listen to aesthetic reasons why camelcase is hideous and underscores are the right thing:

Camelcase is incompatible with multilingual source because not all languages (rather scripts) have upper/lower case.

FeralRobots ,
@FeralRobots@mastodon.social avatar

@dalias I'm not sure that counts as 'incompatible.' It means that particular script doesn't have that nuance. But if we're talking language & not script, the terms are going to be translated anyway - so the original case is irrelevant.

As for aesthetics, I've never understood the argument against it.

dalias OP ,
@dalias@hachyderm.io avatar

@FeralRobots No, I mean if you're trying to write identifiers in your own language that doesn't have case, then there is no way to write them in camelcase.

I'm talking about actual non-English/non-Latin source files, not translating identifier names into another language when talking about them.

FeralRobots ,
@FeralRobots@mastodon.social avatar

@dalias In that case, one literally /can't/ write in camelcase, so I guess I'm not understanding how the issue comes up.

khm ,
@khm@hj.9fs.net avatar

it comes up because the 'code style' police blindly enforce received wisdom instead of assessing the context of a given source file.

CC: @dalias

FeralRobots ,
@FeralRobots@mastodon.social avatar

@khm @dalias
So teams where there are members typing in different scripts?

khm ,
@khm@hj.9fs.net avatar

yes. there's a whole big world out there and sometimes we collaborate on stuff

CC: @dalias

FeralRobots ,
@FeralRobots@mastodon.social avatar

@khm @dalias
You do realize a simple, non-sarcastic answer would have sufficed, right?

khm ,
@khm@hj.9fs.net avatar

anything worth doing is worth doing well

CC: @dalias

FeralRobots ,
@FeralRobots@mastodon.social avatar

@khm
where by 'well' you apparently mean 'dickishly.'

khm ,
@khm@hj.9fs.net avatar

I'm not aware of any other definition of the word, and am unwilling to learn

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines