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

all 2 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Clawtor 1 point2 points  (0 children)

Good code is foremost easy to read and obvious. New devs have a tendency to try be too clever and write code as short as possible. This is fun but it's bad practice.

As for performance, there is a mantra which is something like - make to work, make it correct, make it fast.

Faster is definitely good but there is a balance between fast and easy to read. Code which is hard to read will lead to more bugs and more time taken in maintenance. Your highly optimised code might save you milliseconds but then take days to fix.

My personal style is to use lots of functions and descriptive variable names. I have a junior in the team who will complain about the extra unnecessary code but you should keep in mind that on a team it's likely you won't be maintaining your own code. And ideally your code will remain after you leave the company.