# Proposal: Introduce emptyIf for Conditional Output

**URL:** <https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447>\
**Category:** Elements\
**Created:** [November 15, 2025, 11:44am UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447 "2025-11-15T11:44:40Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [November 16, 2025, 7:13pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/22 "2025-11-16T19:13:20Z")

</div>

ChatGPT inside of Xcode is fairly good now, as it has full project access. But you need to know the basics, and be able to spot when it’s leading you up the garden path, as it often does.

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [November 16, 2025, 7:16pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/23 "2025-11-16T19:16:34Z")

</div>

Yeah I have no idea what I was doing - just copying code from chat GPT then breaking and debugging

Got so tied of it - deleted Xcode off my machine…

---

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [November 16, 2025, 7:18pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/24 "2025-11-16T19:18:53Z")

</div>

If you ever fancy another try, I could not recommend this guy enough…

> **[Hacking with Swift – learn to code iPhone and iPad apps with free Swift...](https://www.hackingwithswift.com)**
>
> Learn Swift coding for iOS with these free Swift tutorials

His 100 days of swift is a great starter.

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [November 16, 2025, 7:27pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/25 "2025-11-16T19:27:50Z")

</div>

Bookmarked this! Thanx!

Toying with the idea of ‘trying’ again

I try to only subscribe to chat when I need it…  
Got 3 days left of subscription 🙂

Don’t know - the fellow who did 1-2-3 passed away  
But he made sure to give me the code and load it to GitHub

I’ve been quoted $400 to add 20-30 pdfs to the app - no changes in code just to add PDFs!!! Then up from there for rewriting it…

So I thought 💭 try and do it myself… editing existing code was a nightmare as chat GPT would have me fix one thing cause another to break - fix that then the first problem would come back and we would just loop fixes…

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [November 16, 2025, 7:36pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/26 "2025-11-16T19:36:38Z")

</div>

I started last year, ok with tailwind and a large part of css, trying to get my head around alpine, no idea about js, so slow, I have been through alpine website, its just working out how you code it altogether, simple stuff ok

---

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [November 16, 2025, 7:42pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/27 "2025-11-16T19:42:00Z")

</div>

Just my two pence…

If you already know CSS, Tailwind is pretty easy to pick up since many of its classes map directly to familiar CSS properties.

Likewise, if you’re comfortable with JavaScript, Alpine.js comes naturally because it uses a lot of the same concepts.

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [November 16, 2025, 7:46pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/28 "2025-11-16T19:46:23Z")

</div>

good with tailwind know that better than css, started straight with tailwind, just never tried js, so straight into alpine, backwards approach I suppose

my grid learning, images no longer work

[https://play.tailwindcss.com/yAvnOcDPEi?file=css](https://play.tailwindcss.com/yAvnOcDPEi?file=css)

I ll try js - it mainly logical operators trying to get my head around these

---

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [November 16, 2025, 7:48pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/29 "2025-11-16T19:48:49Z")

</div>

Kind of, but if it works for you, it works.

I’d recommend vanilla javascript next. A lot of times Alpine will fall short of your goals, but the beauty of it is you can include vanilla js in with it, so it’s limitless.

And ChatGPT is really really good at vanilla js. As long as you can read and understand it, gone are the days of trawling through endless Stack Overflow posts for answers on js.

Though we likely have to thank endless Stack Overflow posts on JS for teaching ChatGPT.

---

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [November 16, 2025, 8:18pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/30 "2025-11-16T20:18:47Z")

</div>

You’s have me down memory lane now 😂

Just looked up my first ever PC, a DX-50.  
I remembered taking it back to the shop saying it was broken.  
When asked what seemed to be the problem. I said when I switch it on, all I get is a blank screen bar a flashing “C:\>” 😂

~1991

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [November 16, 2025, 8:21pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/31 "2025-11-16T20:21:30Z")

</div>

I had a zx80, vic20 - I could program in basic

dos was fun

---

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [November 16, 2025, 8:24pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/32 "2025-11-16T20:24:17Z")

</div>

I remember Visual Basic. I think I managed to make a ball bounce or something equally as mundane 😂

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [November 16, 2025, 8:29pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/33 "2025-11-16T20:29:32Z")

</div>

I was a cnc machinist, before graphical controls came in, they had a form of basic, mostly parameters, loops and easy logical operators, mostly trigonometry, I could handle that no problem, js is gobbledegook to me

---

<div class="post-metadata">

**Author:** ![Doobox](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/doobox/32/32373_2.png) [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Post date:** [November 16, 2025, 8:46pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/34 "2025-11-16T20:46:16Z")

</div>

I know a guy here who purchased a Reichenbacher about thirty years ago for his joinery shop. He apparently invented the code to make it be able to lift the bit up and out and down and in as it made the corners so achieving a perfectly square corner. Reichenbacher took him all over the world to teach others.

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [November 16, 2025, 8:48pm UTC](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447/35 "2025-11-16T20:48:24Z")

</div>

Wow cool fact, amazing right time right place right kit

[Previous page](https://forums.realmacsoftware.com/t/proposal-introduce-emptyif-for-conditional-output/52447.md?page=1)
