u/Innovator-X

How do I figure out if my code is clean or not? Do I ask other engineers?

I am not really a complete newbie but I am really worried about whether I am adopting bad programming practices unconsciously or not. How do I recognize 'clean code'? How do I write 'clean code'? How do I transform my 'ugly code' to 'clean code'?

Thanks.

reddit.com
u/Innovator-X — 4 days ago

Why is a new object returned from object constructor even when we do not specify a return value in the constructor itself? How does JS know what to return?

reddit.com
u/Innovator-X — 7 days ago

How do I stop overcomplicating my code?

I always overcomplicate things when I code. The following scenario always happens:

  1. I need to find a solution to a problem.

  2. I make a very very terrible overcomplicated and ugly solution.

  3. I look for another way to solve the exact same problem online only to find out it was very simple to begin with. Solution is elegant, very succinct and short.

I know that with experience things will get better but my question is: do I need to deliberately practice this or will it come naturally? Thanks.

reddit.com
u/Innovator-X — 9 days ago
▲ 1 r/PKMS

I really have a bad gut feeling about Obsidian. I used it. Liked it. But I cant rationally invest time in sth knowing that at any moment Obsidian may be abandoned. I really really wish Obsidian was open source because this way, developers can fork off of it and maintain it separately if it were to be abandoned. think that maybe using Neovim with note taking specific plugins will do the trick? Something like this? What are your thoughts? I understand that some people may say that the possibility of Obisdian being abandoned is very slim. Yes, it may be slim but you never know what happens. Maybe using "vanilla obsidian" will be a viable idea to reduce over reliance on community plugins and therefore easier migration to alternative if Obsidian is abandoned?

u/Innovator-X — 25 days ago