Coder Social home page Coder Social logo

badcodethatworks's Introduction

badcodethatworks

A place to demo language features with terrible code that actually works. This is currently the landing page for badcode.works. Eventually I may build a badly coded (and badly designed) website to better showcase this content.

The code in this repository is intentionally bad (for various definitions of 'bad'), but it compiles and runs and every sample demonstrates some feature or behavior of the language in which it is written. A great example of code for this repository would be java code that uses unicode encoded newline characters to hide runnable statements in (techinically after) single-line comments.

Some of the examples here may be annotated in some way to explain the feature they demonstrate, why/how they work, and why they are bad, but some may not. This is entirely dependent on how much I (or other authors) feel like explaining the code.

These code samples are entirely meant for entertainment purpose. If you learn something new about a language or environment by examining or running some of these samples, good for you, but all I'm really looking for is laughs and/or cringes.

Contributing

There is currently no formalized process for contributing code here. If you would like to contribute code here you may issue a pull request. Assuming the code actually runs and looking at it gives me a headache, I'll probably include it in this repo; I may ask a few questions on the PR (such as "how the heck do I run this", for esolang samples)

Uses

This repo is not meant to be useful, it's meant to be funny and make good programmers squirm. It could, however, turn out to be a good source of code review fodder to practice teasing out the purpose/result of unclear code. Your mileage may vary.

badcodethatworks's People

Contributors

davidginzberg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.