<commit_before>---
id: 4320
title: Compiled Bindings considerations II
date: 2016-01-08T16:02:34+00:00
author: <NAME>
layout: post
guid: https://www.pedrolamas.com/?p=4320
permalink: /2016/01/08/compiled-bindings-considerations-ii/
dsq_thread_id:
  - 4473571193
categories:
  - Windows
  - Windows Phone
tags:
  - Binding
  - FallbackValue
  - UWP
  - Windows
  - Windows 10
  - Windows Phone
  - WPDev
  - x:Bind
---
A few months ago I wrote my first [Compiled Bindings considerations](https://www.pedrolamas.com/2015/10/19/compiled-bindings-considerations/) article, and seems that time has come to write some more, only this time I'm bearer of some bad news...

## TL;DR

Compiled Bindings have a bug, noticeable in some scenarios, specifically when a binding has a fallback value of null (which is the default)!

Make sure to thoroughly test your app if you use compiled bindings!

## So what is the big deal? <commit_msg>Updates "Compiled Bindings considerations II" blog post<commit_after>---
id: 4320
title: Compiled Bindings considerations II
date: 2016-01-08T16:02:34+00:00
last_modified_at: 2018-01-31T23:45:00+00:00
author: <NAME>
layout: post
guid: https://www.pedrolamas.com/?p=4320
permalink: /2016/01/08/compiled-bindings-considerations-ii/
dsq_thread_id:
  - 4473571193
categories:
  - Windows
  - Windows Phone
tags:
  - Binding
  - FallbackValue
  - UWP
  - Windows
  - Windows 10
  - Windows Phone
  - WPDev
  - x:Bind
---
**Update:** Microsoft has finally provided a fix for this bug, covered in the [Compiled Bindings considerations III](https://www.pedrolamas.com/2018/01/31/compiled-bindings-considerations-iii/) article!

A few months ago I wrote my first [Compiled Bindings considerations](https://www.pedrolamas.com/2015/10/19/compiled-bindings-considerations/) article, and seems that time has come to write some more, only this time I'm bearer of some bad news...

## TL;DR

Compiled Bindings have a bug, noticeable in some scenarios, specifically when a binding has a fallback value of null (which is the default)!

Make sure to thoroughly test your app if you use compiled bindings!

## So what is the big deal? 
{'fraction_non_alphanumeric': 0.09850606909430439, 'fraction_numerical': 0.06255835667600373, 'mean_word_length': 3.983720930232558, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 5, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7656626', 'n_tokens_mistral': 791, 'n_tokens_neox': 678, 'n_words': 242}