Top Tweets for #selfdocumentingcode
If you need to use one or more temp variables to reduce the complexity of an "if" statement, then use one or more temp variables.
Your colleagues and your future self will thank you.
#SelfDocumentingCode
@aarondfrancis A description is always very helpful for the reviewer(s), but here it looks like you understood each other without even having to say a word ππ» - the power of the #selfdocumentingcode
refactoring to good naming is supm anyone can practice regardless of experience level
#descriptiveAndMeaningfulPhrases
#descriptiveAndMeaningfulNames
#damp #damn
#intentionRevealingNames
#namingConventions
#selfDocumentingCode
#CodeNewbie
re: adding code comments with respect to the single responsibility principle
As a #selfDocumentingCode fanatic, I do appreciate that some kinds of comments go a long way:
1/3
i do find the comments at the top of a class heading, that state the singular purpose of the class, to be useful; outside of that im generally anti-comment
#codeAsDocumentation #selfDocumentingCode #singleResponsibilityPrinciple
I tend to avoid comments. I prefer self-explanatory code.
But some types of comments can indeed be helpful.
For example, if I wrote some code in a convoluted way for performance reasons, I'd document these reasons in a comment.
β What comments do you find useful (or useless)?
one of my favorite topics - the naming of things
naming things is hard
but oh so worth it π«
#selfDocumentingCode #codeAsDocumentation
#ubiquitousLanguage #meaningfulNames
when good devs hear off-hand, disparaging remarks about "naming" vars, classes etc, e.g:
"name it whatever"
"who cares what you call it"
"same difference"
#intentionRevealingInterfaces
#intentionRevealingNames
#selfDocumentingCode
#descriptiveAndMeaningfulPhrases
#ddDeveloper
err on the side of conceptual clarity over technical cleverness.. the concepts in the story your design/code tells about the domain solution, is more important than "teh tech" #ddDesign #modularCode #selfDocumentingCode #coders
"We as a whole industry need to put much more emphasis on valuing the clarity of code." - M. Fowler
#selfDocumentingCode #codeAsDocumentation
Best function name ever: distributedTransaction_TaylorSwiftStartsFollowingLorde()
MongoDB Distributed transactions in a sharded cluster #MDBW19 #selfdocumentingcode

#SelfDocumentingCode https://t.co/m6LSTF7VWm
looking at source of a php site. no strong typing = wasted time commenting everything. #selfdocumentingcode
with code like this, who needs documentation: $this->that->f['val'] #selfdocumentingcode
Last Seen Hashtags on Sotwe
teenageers
Seen from United States
JaZuEuropa
Seen from United States
δ½θ²ηθͺζ
Seen from Japan
anxiouspandaa
Seen from Mexico
JapaneseCitrus
Seen from United States
atlantameets
Seen from United States
minichat((((((((**********************************************)))))))) +filter:videos
tΓo
Seen from Mexico
MGAI
ε¦ΉγγΆγ£γγ
Seen from Japan
Most Popular Users

Elon Musk 
@elonmusk
241.5M followers

Barack Obama 
@barackobama
118.8M followers

Cristiano Ronaldo 
@cristiano
114.5M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
107.1M followers

Rihanna 
@rihanna
98.7M followers

NASA 
@nasa
92.3M followers

Justin Bieber 
@justinbieber
91.8M followers

KATY PERRY 
@katyperry
90M followers

Taylor Swift 
@taylorswift13
84M followers

Lady Gaga 
@ladygaga
75.5M followers

Virat Kohli 
@imvkohli
73.5M followers

Kim Kardashian 
@kimkardashian
70.9M followers

YouTube 
@youtube
68.8M followers

Neymar Jr 
@neymarjr
66.5M followers

Bill Gates 
@billgates
65.3M followers

Selena Gomez 
@selenagomez
63.1M followers

The Ellen Show
@theellenshow
62.2M followers

CNN 
@cnn
61.7M followers

X 
@x
60.7M followers







