Tweet Teratas untuk #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
Tagar Terakhir Terlihat di Sotwe
monkeyapp part
Dilihat dari Sweden
minichatt(***)**************************************************************************************************************************+filter:native_video
Dilihat dari Spain
creepshot
Dilihat dari United Kingdom
minichat
Dilihat dari Canada
anxiouspandaa
Dilihat dari United States
ε―ζγε₯³ιγ¨ηΉγγγγ
Dilihat dari Japan
WaterfrontLife
Dilihat dari United States
anxiouspandaa(***********)***************filter:videos
Dilihat dari United States
batorbro
Dilihat dari Saudi Arabia
snapchat
Dilihat dari United States
Tren untuk Anda
Pengguna Paling Populer

Elon Musk 
@elonmusk
241.5M pengikut

Barack Obama 
@barackobama
118.8M pengikut

Cristiano Ronaldo 
@cristiano
114.5M pengikut

Donald J. Trump 
@realdonaldtrump
111.8M pengikut

Narendra Modi 
@narendramodi
107.1M pengikut

Rihanna 
@rihanna
98.7M pengikut

NASA 
@nasa
92.3M pengikut

Justin Bieber 
@justinbieber
91.8M pengikut

KATY PERRY 
@katyperry
90M pengikut

Taylor Swift 
@taylorswift13
84M pengikut

Lady Gaga 
@ladygaga
75.5M pengikut

Virat Kohli 
@imvkohli
73.5M pengikut

Kim Kardashian 
@kimkardashian
70.9M pengikut

YouTube 
@youtube
68.8M pengikut

Neymar Jr 
@neymarjr
66.5M pengikut

Bill Gates 
@billgates
65.3M pengikut

Selena Gomez 
@selenagomez
63.1M pengikut

The Ellen Show
@theellenshow
62.2M pengikut

CNN 
@cnn
61.7M pengikut

X 
@x
60.7M pengikut







