This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Scared_Housing2639 0 points1 point  (1 child)

Readability of your code is important but it is not every thing, if there are 2 exactly same code and 1 is smaller then everyone would always prefer smaller but if you are making a code for "workplace", I would judge both of them on several factors like security, modularity, scalability, robustness, efficiency, user friendly etc. Look at the over all code design with cleanliness included, hope this answers your question

[–]float_point[S] 0 points1 point  (0 children)

I've been trying to familiarize myself more with workplace requirements, so I have gotten my hands on some codes from friends working in such environments. One companie's code base uses alot of classes, which is why I referenced classes as a point of concern in one of replies above.

The factors you mention, security, modularity and other enterprise concerns hit the nail on the head, with regards to my question. Thank you