Wangsly (@aWangsly) header
Wangsly (@aWangsly) profile picture

Using X to journal whats on my mind as a self-taught software dev in finance.

Earth
Joined August 2024
Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)Photo by Wangsly (@aWangsly)
It is faster to keep code clean (not perfect, just clean) than to let it rot. The rot will slow you, and everyone else, down so long as it exists. Clean code is not perfect code. It's just clean enough to be comfortable with. Keeping the code clean enough for comfort is the way to go fast. Too clean will slow you down. Too messy will slow you down. Clean is just right.
15
41
1
313
15,721
Wangsly retweeted
"Computer Science is the discipline that believes all problems can be solved with one more layer of indirection." - Dennis DeBruler
1
1
105
Wangsly retweeted
What is Indirection in Software Development? Indirection adds an intermediary to manage or modify how things interact. It is a fundamental principle in good software design, as it helps achieve flexibility, abstraction, decoupling, and easier maintenance.
1
4
120
Wangsly retweeted
Indirection as a design concept is useful in the following ways: - To enable sharing of logic. - To explain intention and implementation separately. - To isolate change. - To encode conditional logic.
1
2
100
Wangsly retweeted
Re-read (non-fiction) books you previously got a lot of value from. Reading the same book the 2nd time after 5-10 years has meant I've been picking up on things I missed in the first read.
1
1
114
Wangsly retweeted
Thinking, Fast and Slow - Daniel Kahneman This book explores how humans think and make decisions by introducing 2 cognitive systems. It explores the many cognitive biases and heuristics which affect our day-to-day decision making which we all believe is grounded in rationality.
1
1
2
122
Wangsly retweeted
Sunk Cost Fallacy Def: This occurs when one continues to invest time, money & resources into something based on the amount they've already invested. Rather than evaluating the current and future benefits. E.g. "I've already spent 3 weeks on this feature, we can't stop now."
1
101
Wangsly retweeted
The Sunk Cost Fallacy is possibly one of the most common cognitive dissonances all developers will experience day-to-day. It make us feel like we need to deliver that project despite subconsciously knowing that we shouldn't be spending time on it at all. Stop. Re-evaluate.
1
91
Wangsly retweeted
"This is how we've always done it." Stop saying this. If you find yourself saying this automatically, when someone is questioning why your team does something. Stop and re-evaluate. Perhaps what you're doing is outdated and has room for improvement.
1
90
Wangsly retweeted
"Programs have two kinds of value: what they can do for you today and what they can do for you tomorrow. Most times when we are programming, we are focused on what we want the program to do today." - Kent Beck
1
1
55
Wangsly retweeted
What is it that makes programs hard to work with? Programs that - are hard to read are hard to modify. - have duplicated logic are hard to modify. - require additional behavior that requires you to change running code are hard to modify. - has complex conditional logic are hard to modify.
1
83
Wangsly retweeted
Dev Productivity Tip #69 Review your own PR as soon as you create it to check for small bugs/issues before sending to others. Seeing your code in a PR makes it easier to catch small fixes/improvements that are needed.
1
1
1
85
Wangsly retweeted
When you do the hard jobs others are unwilling, you will get ahead. Guaranteed.
2
1
4
79
Wangsly retweeted
What is a Spike? A spike is a time-boxed task focussed on discovery for a specific problem that needs to be solved. It’s main focus is speed and gaining a quick understand of the problem space. Quick and nasty, and with the view of being entirely throwaway.
1
1
4
108
Wangsly retweeted
Making an impact as a developer is helping others make better decisions when coding. The most ideal time for this is when pair programming. If that’s not possible during code review. As soon as it gets merged it’s much harder to change.
1
2
59
Wangsly retweeted
So for female coders that are trying to become coding influencers on here. In case you didn’t know, when you post a provocative picture of yourself on here, people aren’t actually following you for your content.
1
1
69
Wangsly retweeted
We’re in the last few weeks of 2024 now. You’ll probably be asked what your New Year’s resolutions are for 2025. I say, don’t bother. If you want positive change, why wait until an arbitrary change in the calendar to do it? Why not now?
1
74
Wangsly retweeted
Just over 2 more weeks until the end of year. How did you get on with your self-improvement journey this year?
1
1
1
99
Wangsly retweeted
Important tip for refactoring: Do you refactoring incrementally in a small steps. Test after every step. If you don't have a test for the things you're refactoring yet? Write your test first!
1
1
65
Wangsly retweeted
When you stumble upon a badly named variable/method on your travels. Do yourself and your reviewers a favour. Create a separate PR when you're finished your original work with just the rename. Thanks.
1
2
72