---
title: "Discussion on \"How a decompiler recognizes a custom collection builder\" | Hashnode"
description: "Discussion on \"How a decompiler recognizes a custom collection builder\". Collection expressions were sold as syntax sugar, but the interesting part is that the sugar is extensible. Put [CollectionBuilder] on a type and [1, 2, 3] will build an instance of it. The catch, for"
url: "https://hashnode.com/posts/how-a-decompiler-recognizes-a-custom-collection-builder/6afc0c03acabd15db72dcfbd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How a decompiler recognizes a custom collection builder](https://delta1labs.hashnode.dev/how-a-decompiler-recognizes-a-custom-collection-builder?utm_source=hashnode&utm_medium=feed)

Collection expressions were sold as syntax sugar, but the interesting part is that the sugar is extensible. Put \[CollectionBuilder\] on a type and \[1, 2, 3\] will build an instance of it. The catch, for

1d ago · 8 min read · delta1labs.hashnode.dev  
Updated 2h ago  
Read the article

-   [#collections](https://hashnode.com/tag/collections)
-   [#glass](https://hashnode.com/tag/glass)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
