
Tech lead & #Java software engineer in financial services. Transitioning to #JavaScript and #ReactJs. I share my learning journey in software development.
Kuala Lumpur
Joined April 2008
- Tweets2.3K
- Following42
- Followers137
- Likes691
Waihon Yew retweeted
When I politely decline scheduling a "quick call", it's not because I don't literally have the time — there's always room for 15 minutes here or half an hour there! — it's that I can't afford to spare the attention.
Today I learned that domain-specific exceptions such as UserNotFoundException are usually unchecked (RuntimeException) to avoid polluting method signatures.
#java #sprintboot #exceptions
11
Given a choice, would you prefer #imperative style of coding or #functional style of #coding, and why?
#java #springboot
13
#TodayILearned that even though #Hibernate usually maps camelCase to snake_case correctly, certain patterns like "TypeId" can be inconsistent. The solution approach is to use @Column(name = "user_type_id") for clarity and reliability.
#java #orm #jpa
12
Today I learned that every '@Entity' class must declare or inherit at least one `@Id` or `@EmbeddedId` property. In other words, it can't be empty even though your purpose is to create a stub class for the purpose of referencing it from another classs
#java #entity #todayilearned
2
In a software project, singular vs. plural naming isn't right or wrong—just be consistent. I once saw a Spring Boot project with a `controller` folder but a `services` folder. I also saw a database with an `user` table but an `user_types` table. #techlead #lessonslearned
15
Not all pictures are worth a thousand words. Some can be unclear on their own without a caption. That’s why I encourage the developers and QAs on our team to include captions for any screenshots they attach in emails or test reports.
#techlead #lessonslearned
11
I've learned that if business side demanded for certain info by end of day, it's not advisable to send them earlier than that. Otherwise, they may demand for additional info by end of day the same day.
#techlead #lessonslearned
1
9
A primary purpose of DTO is to ease passing of data from one place to another place via an object as a container.
Besides, it could have secondary purpose of converting between string type and other types such as Boolean, date, and monetary.
#techlead #codereview
8
Waihon Yew retweeted
How to make money in software: invest in software stocks
How to have fun in software: make software
Observation and practicing may have different effect towards one's learning.
I have seen Java interfaces with members without any 'public' modifier.
I was creating a new Java interface and putting 'public` in front of members. The IDE reminded me that such modifier is redundant.
10
I helped a software engineer solve a post deployment verification issue by fine-tuning an SQL, which resulted in records extracted meeting expected results.
#fridaynightdeployment
1
17
Today, I advised the engineers in my team to stop creating new technical debt and to start paying back existing ones. I also gave them an example from the repo and an idea of how to refactor that.
#technicaldebt
8
Being an engineering team lead with several companies, I've observed some engineers would behave differently around the time they tendered their resignation. E.g, raising their voice during a discussion, leaving office on the dot, and saying something that didn't make sense.
13
Coached a software engineer in my team to inject a dependency to a class instead of making any assumption about it.
#coding #dependency #injection
1
19
2 weeks ago, I attended a 2-day Professional Scrum Master I training. That is after I've joined a Scrum Team with Developers accountability for 10+ months. I have just passed the certification exam with a score of 98.8%.
#agile #scrum #scrummaster #psmi
2
43
Waihon Yew retweeted
At 37signals, three is a magic number.
Nearly all new product work is done by teams of three people. A team of three is usually composed of two programmers and one designer. And if it’s not three, it’s two or one — not four or five. We don’t throw more people at problems, we chisel problems down until they can be tackled by three people, at most.
We rarely have meetings, but when we do, you’ll hardly ever find more than three people on a call. Any conversation with more than three people is typically a conversation with too many people.
What if there are five departments involved in a project or a decision? There aren’t. Too many dependencies. We don’t work on projects like that — intentionally.
What is it with three? Three is a wedge, and that’s why it works. Three has a sharp point. It’s an odd number so there are no ties. It’s powerful enough to make a dent, but also weak enough to not break what isn’t broken. Big teams make things worse all the time by applying too much force to things that only need to be lightly finessed.
The problem with four is that you almost always need to add a fifth to manage. The problem with five is that it’s two too many. And six, seven, or eight on a team will inevitably make simple things more complicated than they need to be.
Just like work expands to fill the time available, work expands to fill the team available. Small, short projects become bigger, longer projects simply because all those people need something to do.
You can do big things with small teams, but it’s a whole hell of a lot harder to do small things with big teams. That’s a disadvantage of big teams! Small things are often all that’s necessary. The occasional big thing is great, but most improvements come as small incremental steps. Big teams can step right over those small moves.
Three keeps you honest. It tempers your ambition in all the right ways. It requires you to make tradeoffs, rather than keep adding things in. And most importantly, three reduces miscommunication and improves coordination. Three people can talk directly with one another without introducing hearsay. And it’s a heck of a lot easier to coordinate three people’s schedules than four or more.
Three is all-in for us.
I am going to learn #ReactJs with "The Road to React" by @rwieruch Join me on my journey! roadtoreact.com
1
9
I couldn't solve a LeetCode coding problem the other day after trying for 2 hours or so. I came back to it after more than 1 week and able to solve it within half an hour.
#coding #persistence
2
21









