₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,749 members, 8,513,500 topics. Date: Thursday, 05 November 2026 at 06:39 AM

Toggle theme

Design Pattern - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Design Pattern (298 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 Udemy • Best Course For Programmer On Udemy - Design Pattern - Support A Nairalander • Need Good Book On Design Pattern With C++ • 2 • 3 • 4

We Created An AI Tool For Movie Producers And Script Writers • Enchant Your Youtube Thumbnail • Build Website Yourself Without Coding With AI (artificial Intelligence )