For loop variable scope vs closures: GoLang and DMN FEEL

preview_player
Показать описание
In this instalment of "a video that could be a blog post" I want to share with you initial my impressions while learning #golang and stumbling upon a weird behaviour, followed by transposing the same concept as applicable in the #DMN FEEL expression language. Follow on a ride about for-loop variable scope Vs closures and don't let your scope escape!!

Resources for this video:

0:00 Introduction
0:53 Fixing For Loops in Go 1.22
3:18 Simple example using Table based testing
6:16 oops Kubernetes was impacted too at least in some of Table based testing
7:53 oops #drools DMN open source engine was impacted analogously, let's fix it:
Рекомендации по теме
Комментарии
Автор

Good catch Matteo! and very instructional video!

edsontirelli
welcome to shbcf.ru