15
pk76
22d

It's fun to abuse language mechanics

Comments
  • 4
    That one right there, officer! He's been abusing languages for days! Save them from his crazy grasp...!
  • 7
    What is it though? And what language? C#? 🤔
  • 2
    What am I looking at? All I know is that it is not normal
  • 0
    Wait that's illegal
  • 1
    I'm confused
  • 0
    _.-+`+-._.-+` looks like when in 2005 we decorated our texts like this `+-._.-+`+-._
  • 1
  • 2
    @santartine clever use of higher order functions and other functional programming tricks to get a DSL that... isn't functional at all, and rather resembles natural language.
  • 0
    F# FTW! :)
  • 1
    @terraria99 F#, with clever use of some functional programming concepts and severe abuse of F#'s type inference algorithm.
  • 0
    this is the sad folk that attempts to write a new language within a language, instead of developing a new language.

    curse languages that allow this also.
  • 1
    @jesustricks bro, what?

    I can create a small DSL for unit testing in just a few workdays, versus the months to properly do it, along with additional time to create proper IDE integrations.

    I'm not creating a turing complete language inside of another language, it's just a DSL.

    And I hate to break it to you, but every turing complete language allows this in some way.
  • 2
    @jesustricks is just envious. 😋
Add Comment