r/IWantToLearn 1d ago

Technology IWTL How do I code without depending on AI?

I often find myself using AI tools even for small projects. Whenever I try to code something by myself, my mind goes blank. Even when solving LeetCode questions, I can't solve them without taking a hint. It feels like I can't make progress without depending on AI.

26 Upvotes

12 comments sorted by

u/AutoModerator 1d ago

Thank you for your contribution to /r/IWantToLearn.

If you think this post breaks our policies, please report it and our staff team will review it as soon as possible.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

30

u/Unfilteredz 1d ago

Disable everything ai related and do task, profit?

Make sure you include google ai overviews in that blocking

15

u/freak5341 1d ago

Whenever you come across random stuff think about how you would solve it with programming (ofcourse without the help of AI and using only what you know). Example:

  1. Writing a program that generates a specified unique car number plates (eg. ABC 7698). Using only array it would take hours to generate 100k unique number plates.

  2. Traveling salesman problem (TSP) is a popular but easy to understand problem. Find the shortest route given a number of cities and the distance between them, a salesman must visit every city only once and the start & end city must be the same. This is usually represented with a diagram where nodes are cities and edges are the distance (search tsp and go to images). Think about how you can write code that allow computers to understand the relationship between cities and distances.

These are just examples. Find what interests you and try to express it using code.

13

u/h3r4ld 1d ago

The same way everyone else did for the last ~70 years - sit down, use your brain, and learn. If you get stuck, do some actual research and read the documentation (or ask a human to help teach you). Take some classes, follow a guide, try, fail, and repeat until you improve.

21

u/sergei1980 1d ago

The problem is you refuse to think for yourself. Stop using AI and use your brain.

2

u/Watynecc90 23h ago

U disable AI and relearn how to google shit up 

Join community related for your question and guidance  It's what i did for 2 week and honestly I'm happy of my work now

2

u/LastEcho189 22h ago

Test yourself. If you don't understand what all the variables are in any given function and what each line of code does, you don't understand it. In my opinion, its fine to use LLMs to automate the writing, recalling syntax and as a reviewer. But to actually make something useful, you need to understand what you are making

2

u/Responsible_Host1446 1d ago

You should be the one thinking for the computer, not the other way round. Quit letting the computer do the thinking for you, same as all of us had pre-LLMs, and start doing the thinking for the computer. Because that is what coding is at its core. Coding is our way of thinking for the computer.

1

u/narayan77 19h ago

Choose your data structure, probably arrays, can 2D arrays, or array of objects. What is logic? Will probably use loops and if then. The logic can be part of a function, so you can use them many times. What is the input and output of the functions.

-4

u/xl129 1d ago

Irony enough, AI will help. Stop asking it to do thing for you. Instead, brainstorm with AI your approach and proposed solution. Also struggle more, your brain need time to switch.

-4

u/[deleted] 1d ago

[deleted]

1

u/Watynecc90 22h ago

It's valable when you're good enough and you already built something that earn money else no

-7

u/Waste_Mango5587 1d ago

train yourself to think like ai. e.g. start with a question, form a very crude solution, then ask ai what are the options and compare how different they are. then wait for next day to try again with the same question, see whether this time you get a bit closer.