EN
My account

Your privacy, your call. No advertising cookies. May we count your visit in aggregate (Cloudflare, no cookies) and remember where you came from? If you reject, we won’t measure your visit. · Cookies · Privacy

Privacy settings

Choose what we measure and what we keep in this browser. We never sell or share your data.

Essential

Remember your theme, language, saved items and this choice. Without them the site cannot work the way you ask.

Always on

Keeps the source of your first and latest visit for 90 days (utm parameters and referring site). It only leaves your browser if you subscribe to the newsletter.

Cloudflare Web Analytics counts visits in aggregate: page, referring site, country, browser and load times. No cookies, no identifiers and no profiling; nothing is stored in your browser. It only loads if you accept it. If you reject it or switch it off, it does not load (or stops loading from the next page) and we do not count your Telegram clicks either.

Cookies · Privacy

By profession · Level intermediate

Learn to code with AI without it coding for you

In 30 seconds

How to use an AI assistant to really learn programming: ask for explanations, debug errors and review your code, without copying blindly or pasting passwords or keys.

Start with:

By Cognenza editorial team · Updated · 2 min read · Sources cited

In this guide · 4
  1. How to really learn
  2. Two dangers
  3. Frequently asked questions
  4. Sources

With AI you can have a working program in minutes without understanding anything. That’s not learning. Use it as a patient tutor.

How to really learn

  1. Try first, even if it fails.
  2. Paste the error and ask it to explain, not fix (template below).
  3. When it works, ask for a review: readability, names, edge cases.
  4. Rewrite without looking the next day.

Choosing an assistant: best AI for beginner coders. Offline practice: Ollama.

Two dangers

  • It invents functions or outdated versions. AI can be wrong confidently; run it and check the docs.
  • Secrets: never paste API keys or passwords. If one slips into a repo, revoke it: GitHub explains how it detects exposed secrets.

GitHub Copilot Student free for students

Frequently asked questions

Can AI invent functions or libraries?

Yes. OpenAI acknowledges it can give incorrect answers confidently. Check the official docs and run the code.

What if I pushed a key to GitHub by mistake?

Revoke it and create a new one immediately. GitHub explains its secret scanning detects keys in repositories, but deleting the file isn’t enough: the key stays in history.

Glossary · By job

Ready-to-use prompts

Keep reading

Next step · Comparisons

Best AI for beginner coders

A comparison of GitHub Copilot, Claude and ChatGPT for learning to code: free plans, student plan, published prices and tips to avoid relying on AI.

Tools

Ollama: how to use AI models on your computer, offline

A beginner’s guide to Ollama: what it is, memory requirements, installation on Windows, Mac and Linux, first model, local-only mode, privacy and limits, from the official documentation.

Safety and good use

Data you should never paste into a chatbot

The list of things you should never share with ChatGPT, Gemini or any AI, why, and which settings protect you. Based on what OpenAI, Google, the Spanish data-protection authority and the GDPR say.

Sources

Source titles are translated by Cognenza. Links go to the official page in your language when there is one; otherwise, to the English or Spanish original.

  1. Secret scanning — GitHub
  2. Does ChatGPT tell the truth? — OpenAI

Change log

Change log
  • : First published with GitHub’s secret scanning docs and OpenAI help as checked that day.

Educational content, prepared with the help of AI tools, with sources cited. It is not a substitute for professional advice. Tools change fast: if you spot something out of date, write to us at contacto@cognenza.com. How we work.

Found this guide useful? A new guide in your inbox every Tuesday

Every Tuesday, 5 minutes: AI news with sources, a tool with its prompt and a guide. Free, with one-click unsubscribe. What is inside and a sample issue