More beautiful code by Asbjørn Heid
Posted by jpluimers on 2017/08/25
If you’re in Delphi land, then Asbjørn Heid is a a guy to follow on G+.
He has some brilliant snippets (most can be found on paste.ie by searching for Asbjørn Delphi site:paste.ie).
This is actually one set:
- Working code: Tuple duple – Paste.ie – Irish For Pastebin [WayBack]
- Concept (not actual working code): Channeling – Paste.ie – Irish For Pastebin [WayBack]
Both via From the because-I-can department… Friday evening operator abuse. Tuple Duple [WayBack]
Then there are these:
- Checkpoint logging [WayBack]: log only stuff when there is an exception based on Superior logging design – Fast but comprehensive – CodeProject [WayBack] via I’m wondering if the “checkpoint” feature could be implemented with Delphi. Basically, it allows to log only when needed… – Agustin Ortu – Google+
–jeroen






Cesar Romero said
Insteresting topics:
I wonder if the Channel code implementation can be found, cannot find it anywhere.
2.Every time I tried to build/execute the checkpoint code (I created a console project called CheckPointTest,dpr), Delphi Berlin craches and raises “product-validation-error” message, I think the “checkpoin” name may be the key, I have to run some more tests to confirm.
jpluimers said
Let us know what you find out.