Advent of Code(x) | Day 1 - Go | Using OpenAI's Codex to solve Advent of Code

preview_player
Показать описание
For Day 1 I chose my favorite language Go. I copy-pasted some of the instructions, and edited and rephrased them until it worked out. Then added the "package main" statement and a statement of intents to import libraries with "import", by this indicating my choice to use Go.

This is the prompt that worked -

--------------------------------------------------------
// [edited instructions]
// [edited instructions]

package main

import
--------------------------------------------------------

In this series of recordings I'll be solving the Advent of Code 2021 challenges using a no-code setup: OpenAI's Codex for solving, and the browser-based IDE Replit for testing the solution.

The purpose is to show what writing code using no-code tooling and Prompt Engineering is like, so the focus is on the OpenAI Playground for getting the solution, and minimal code debugging.
Codex supports multiple languages, so I'll be using a different language each. Thanks to the web IDE there is no need for setting up any environment, hooray!

Resources:

Follow me on Twitter:
Рекомендации по теме
visit shbcf.ru