₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,625 members, 8,422,900 topics. Date: Tuesday, 09 June 2026 at 01:59 AM

Toggle theme

Design Pattern - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingDesign Pattern (263 Views)

1 Reply (Go Down)

Design Pattern by donproject2(op): 9:23am On Feb 11, 2024
Nairaland software design pattern is somehow wack. I notice that whenever any of my posts is banned, I will see empty boxes without the said post inside. It looks so ugly and annoying.

What you could have done is to create an extra column in the table where all the posts are saved, let the column decide if a post is banned or not, when fetching for users posts, only fetch posts that are not banned. Then you won't have to use client side code to handle which post is allowed be displayed.

This is 2024 NL.
Re: Design Pattern by edicied: 10:11am On Feb 12, 2024
Small programing way you learn you think say you be expert, How is this different from whatsapp "Your message has been deleted". I don't see you making post complaining about that?
1 Reply

Design Pattern In Python With Real World Examples -A Nairalander Course On UdemyBest Course For Programmer On Udemy - Design Pattern - Support A NairalanderNeed Good Book On Design Pattern With C++234

How Do We Inform Interior Designers Of Needs In Dubai?Laravel Developer Needed For An Ongoing Web DevelopmentHumans