Submitted by drinkingsomuchcoffee t3_113m1ly in MachineLearning
hpstring t1_j8x5iyh wrote
Reply to comment by drinkingsomuchcoffee in [D] HuggingFace considered harmful to the community. /rant by drinkingsomuchcoffee
I'm a beginner in this field and I was wondering what it means for code to be "centralized" and "dry". Does "centralized" mean putting a lot of code in a single file and "dry" means raw code that is not very easy to read but is efficient or have some other advantages?
baffo32 t1_j8zbmua wrote
dry is a very basic software engineering principle that means to include only one copy of every sequence of code. it looks like machine learning people did not learn this as they weren’t trained as software engineers. DRY stands for “don’t repeat yourself”, and if not respected then it gets harder and slower more and more to maintain, improve, or bugfix software, the larger and older it gets.
baffo32 t1_j8zbuup wrote
i think by centralized they mean what they imagine dry looking like, putting code in one place rather than spreading it out. it’s not usually used that way. it’s a reasonable expression though; people usually centralize components so there is one organized place to go to in order to access them.
hpstring t1_j8zw7i5 wrote
Lots of thanks! I didn't receive training from software engineering perspective, which seems to be an important aspect in machine learning.
[deleted] t1_j8xphu8 wrote
[deleted]
Viewing a single comment thread. View all comments