Top Tweets for #selfDocumentingCode
"Good code is its own best documentation." - Steve McConnell #SelfDocumentingCode #CodeReadability #CodeHacks #CodeWisdom #CodeProgress

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

Last Seen Hashtags on Sotwe
ΰΈΰΈ§ΰΈ’ΰΈͺΰΈ΄ΰΈΰΈ₯ΰΉΰΈ
Seen from Thailand
hetero padre hijo
Seen from Argentina
monkeyapp
Seen from United States
colbarsmp
Seen from Indonesia
ΰΈΰΈ§ΰΈ’ΰΈΰΉΰΈ²ΰΈΰΉ
Seen from Thailand
latino
Seen from United States
nsfwtwtΩΩ
Seen from United States
mommy
Seen from Jordan
smallpp
Seen from United States
mama #amigo
Seen from Mexico
Most Popular Users

Elon Musk 
@elonmusk
240.2M followers

Barack Obama 
@barackobama
119.3M followers

Donald J. Trump 
@realdonaldtrump
111.6M followers

Cristiano Ronaldo 
@cristiano
109.2M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
97.3M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
90.6M followers

KATY PERRY 
@katyperry
87M followers

Taylor Swift 
@taylorswift13
80.8M followers

Lady Gaga 
@ladygaga
72.3M followers

Kim Kardashian 
@kimkardashian
69.5M followers

Virat Kohli 
@imvkohli
68.8M followers

YouTube 
@youtube
68.6M followers

Bill Gates 
@billgates
63.5M followers

The Ellen Show
@theellenshow
62.5M followers

CNN 
@cnn
61.9M followers

Neymar Jr 
@neymarjr
61.4M followers

X 
@x
60.9M followers

Selena Gomez 
@selenagomez
60.1M followers





