Template talk:Yesno: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== unnecessary template ==
== unnecessary template ==


I feel like this template is just bad practice. There is no need to have 5 different ways to write yes/no. Simple switch statement and using always 1/0/#default is enough and is a lot less expensive than calling template with parameters --[[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 13:47, 1 August 2024 (PDT)
I feel like this template is just bad practice. There is no need to have 5 different ways to write yes/no. Simple switch statement and using always 1/0/#default is enough and is a lot less expensive than calling template with parameters and is more readable since #switch is well explained and documented while with this you need to looks at what this particular template does --[[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 13:47, 1 August 2024 (PDT)

Revision as of 13:50, 1 August 2024

unnecessary template

I feel like this template is just bad practice. There is no need to have 5 different ways to write yes/no. Simple switch statement and using always 1/0/#default is enough and is a lot less expensive than calling template with parameters and is more readable since #switch is well explained and documented while with this you need to looks at what this particular template does --Nescius (talk) 13:47, 1 August 2024 (PDT)