Giter Club home page Giter Club logo

Lateef Alabi-Oki's Projects

copilot-cmp icon copilot-cmp

Lua plugin to turn github copilot into a cmp source

diagflow.nvim icon diagflow.nvim

LSP diagnostics in virtual text at the top right of your screen

eclipse-cleancode-sorter icon eclipse-cleancode-sorter

The Clean Code Sorter implements a sorting algorithm based on the newspaper metaphor described by Robert C. Martin in his book titled Clean Code. Robert describes the sorting philosophy as follows: "A class should be readable like a newspaper, starting with the most important methods, followed by methods which are invoked later in the execution flow." The sorter is implemented such that the calling method (the caller) is placed as close as possible to the called method (the callee) to improve the readability of the source code. The most important methods are place at the top of the document while supporting methods are placed immediately below the methods they support. The result is that reading the source code, from top to bottom, is akin to reading prose. To allow relevant methods to be clustered as close as possible to each other, the following sorting algorithm is used. In general, constructors are sorted before public methods, which are sorted before package methods, which are sorted before protected methods, which are sorted before private methods. In addition, methods are also sorted by the number of parameters they have and also their return type. Finally, the clean code sorting algorithm is applied to place called methods right below calling methods, and inner classes are placed at the end of the document.

eclipse-cleancode-sorter-updatesite icon eclipse-cleancode-sorter-updatesite

The Clean Code Sorter implements a sorting algorithm based on the newspaper metaphor described by Robert C. Martin in his book titled Clean Code. Robert describes the sorting philosophy as follows: "A class should be readable like a newspaper, starting with the most important methods, followed by methods which are invoked later in the execution flow." The sorter is implemented such that the calling method (the caller) is placed as close as possible to the called method (the callee) to improve the readability of the source code. The most important methods are place at the top of the document while supporting methods are placed immediately below the methods they support. The result is that reading the source code, from top to bottom, is akin to reading prose. To allow relevant methods to be clustered as close as possible to each other, the following sorting algorithm is used. In general, constructors are sorted before public methods, which are sorted before package methods, which are sorted before protected methods, which are sorted before private methods. In addition, methods are also sorted by the number of parameters they have and also their return type. Finally, the clean code sorting algorithm is applied to place called methods right below calling methods, and inner classes are placed at the end of the document.

null-ls.nvim icon null-ls.nvim

Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

qmk_firmware icon qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families

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.