✅ Naming functions using strings
In Kotlin, it is possible to name function as strings surrounded by
. Thus we can have white spaces etc.
Is there a way to do a similar thing using C# ?6 Replies
nope
okay thanks
Oh my god... that's sacrilege... but what if we did an IDictionary of string, delegate and then we created an CallFunction library that takes the function name and the function parameters as the parameters...
though can you do it natively... probably not
who decided we needed whitespace in function names in any language
gross
I just hope Kotlin implements PHP's variable variables one day
Closed!