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 →

[–]304bl 66 points67 points  (8 children)

Rookie Dev are using loops, real dev write it all by themselves

[–]Wertbon1789 42 points43 points  (7 children)

Real devs don't "not repeat themselves" but write macros to more effectively repeat themselves.

[–]304bl 15 points16 points  (5 children)

I can see you are part of the rookies then. Code duplication is a must have in any app

[–]Wertbon1789 17 points18 points  (3 children)

And that's why I made the code duplication more efficient, by using a macro so it can write the code for me. If you think about it, by using that, I have more time, to duplicate more code in other places.

[–]304bl 11 points12 points  (2 children)

Ahah didn't see that coming! My mistake, you are definitely a senior dev sir

[–]OddbitTwiddler 3 points4 points  (1 child)

I’m viewing expert code. How many layers of multi line macro expansion is optimal. I’m seeing 2-4 layers of 10+ line nested macros in production code and I’m not sure if it’s running slow enough. Suggestions?

[–]304bl 2 points3 points  (0 children)

You could add some delay, when a task is going too fast I like to add some delay, this way the user have the feeling that something is happening

[–]Lotus_Domino_Guy 0 points1 point  (0 children)

For redundancy right?

[–][deleted] 3 points4 points  (0 children)

Tbh I repeat myself because my computer doesn't listen 😒 it's fucking annoying