webcodr

Programming

  • Please don't do this with switch statements 3 min read

    A subtle Java switch fall-through shows why deeply nested control flow can cause bugs during Kotlin migrations.

  • Micro DSLs for builders with Kotlin 3 min read

    Use Kotlin lambdas with receivers to turn conventional builders into concise, readable, and extensible micro DSLs.

  • Why custom errors in JavaScript with Babel are broken 2 min read

    Learn why Babel-transpiled custom JavaScript errors lose inheritance in ES5 and what limited workarounds remain.

  • Say Hello to Mango 4 min read

    Mango wird als leichtgewichtiger PHP-ODM für MongoDB mit Models, Abfragen, Hydration und Composer-Installation vorgestellt.

  • Services ftw! 2 min read

    HTTP-Dienste verbinden PHP, Python und Ruby für anwendungsunabhängiges Markdown-Rendering und Syntax-Highlighting.

  • Array almighty 3 min read

    Ein Vergleich mit Scala führt zu PHP-Collection-Klassen, die Array-Zugriffe, Listenoperationen und verkettete Methoden vereinen.

  • PythonPress 3 min read

    Ein Lernprojekt zeigt, wie mit Flask, Jinja2 und MongoEngine eine Python-Version von CodrPress auf MongoDB entsteht.

  • PHP-Autoloader nach dem PSR-0-Standard 2 min read

    Der Beitrag erklärt PSR-0 und implementiert einen interoperablen PHP-Autoloader für Namespaces und Klassen.