re: Writing Beautiful Code VIEW POST

TOP OF THREAD FULL DISCUSSION
re: For me it worked best if i treated the code i write not as something i write for a computer to execute. I treat code as a sort of documentation for...
 

Regarding 1st paragraph: That is an great way to write your code. I'll try to do the same, but sometimes end up with long function names.

How do you handle this?
Are you for or against abbreviations?

 

When there is an 'and' or 'or' or something like this in the function name, i'll split it in two. Because obviously there are multiple concerns handled there.
If they are only long, i'm fine with that. Most of the time, one of my colleagues has a shorter suggestion in the review anyway :)

I'm not a huge fan of abbreviations - it hugely depends on the business domain and whether or not these abbreviations are kinda well known or not.

code of conduct - report abuse