Weekly update on development process (Sep 25, 2023)

Fairpool
3 min readSep 25, 2023

Fairpool is a DEX for personal tokens. Create your own token & receive royalties from trading volume. Increase volume by offering dividends / selling content for your token. Subscribe to our Telegram / Twitter to get notified about updates.

Weekly progress

  • ⚒ Worked on the code actions (faster way to write code).
  • ⚒ Worked on our decision-making system.

Code actions

Code actions are logical units of thought in programming. For example:

  • Create a new function.
  • Move an existing function to a new file.
  • Add a new argument to the existing function.

Code actions save time & bring joy into development because they allow the programmer to literally code at the speed of thought. For example,

  • Without code actions, the programmer would have to manually type `function myFunc() {}`
  • With code actions, the programmer can just type `fn` and hit Enter.

This particular code action is also known as “code snippet expansion”, and it’s already available in most IDEs. However, other code actions are not available, such as import-with-alias (useful to avoid name clashes).

Sometimes a code action is available, but is implemented in a suboptimal way. For example, “extract to a separate file” is available in the TypeScript language server, but is implemented by VSCode in a suboptimal way: it doesn’t allow specifying the directory for the new file, which means the programmer has to open the newly created file and move it manually.

Of course, every team has their own convention on how to spread the functions between files, so this code action must be customizable at the repository level.

Sometimes a code action is specific to a certain framework. For example, Next.js has its own specific way of creating new pages, which necessitates a specific code action.

Overall, we feel that programmers are doing too much manual work, which can and should be automated. It is most pronounced during the refactoring phase, when the programmer applies many small changes in different places across the codebase. However, these changes are mostly mechanical, so they should be automated.

We feel this pain ourselves when writing our code, so we decided to invest some time into implementing proper code actions and making them available to the public. We hope it would save time for programmers across the world, and if it becomes popular, we might create a code action store & allow other devs to sell their code actions.

Next week’s focus

  1. ⚒ Develop our decision-making system.

About Fairpool

Fairpool is a DEX for personal tokens. Create your own token & receive royalties from trading volume. Increase volume by offering dividends / selling content for your token. If you want to get notified about updates to our products, please follow our Telegram & Twitter.

Any questions? Reach out to us:

Website: fairpool.io

Telegram: @FairpoolDEX

Twitter: @FairpoolDEX

Anchor Podcasts: @FairpoolDEX

Medium: fairpool-dex.medium.com

$FAIR token: Uniswap

--

--

Fairpool

Fairpool is a DEX for personal tokens. Create your token & receive royalties from trading volume. Increase volume by offering dividends / selling content.