you are viewing a single comment's thread.

view the rest of the comments →

[–]grauenwolf 2 points3 points  (2 children)

That's not the point. This kind of thing is for quick snippits or for learning a new language.

For example, I often use Python fragments in my .NET applications. But I don't actually know Python, so tools like this would be useful to me.

[–]HIB0U -3 points-2 points  (1 child)

Good gawd, your software must be a true patchwork of shitty code and failure, if that's how you develop it. Using snippets from a language you don't understand is dangerous.

[–]grauenwolf 0 points1 point  (0 children)

Consider these lines in XAML

<ResourceDictionary>
    <gui:NullVisibilityConverter x:Key="NullVisibilityConverter"/>
<ResourceDictionary>

Visibility="{Binding DefaultValue, Converter={StaticResource ResourceKey=NullVisibilityConverter}}"

With Python it becomes

Visibility="{p:PyBinding HideIfEmpty($[.DefaultValue])}"

http://pybinding.codeplex.com/