₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,326,329 members, 8,426,083 topics. Date: Saturday, 13 June 2026 at 03:54 PM

Toggle theme

Design Pattern - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingDesign Pattern (266 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

Experienced Website Developer Offering Professional Wordpress Design With BonusWhatsapp's Struggles To Catch Up With Telegram And Outshine ThemStudy Finds 268% Higher Failure Rates For Agile Software Projects