₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,724 members, 8,423,431 topics. Date: Tuesday, 09 June 2026 at 06:03 PM

Toggle theme

Design Pattern - Programming - Nairaland

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

Looking For A Professional Programmer Expert In Unreal Engine Game AssetsExperienced Website Developer Offering Professional Wordpress Design With BonusAbuja Corper With Software Engineering Experience Looking For PPA