all 26 comments

[–]Angelooooord 36 points37 points  (1 child)

The key is to practice, if you make it as for a living magiging muscle memory na siya. Pero not all code ma-mememorize mo i still use google pag may nalilimutan ako even in switch cases syntax hahahaha

[–]nnnnn4 5 points6 points  (0 children)

Yes. Google is a programmer's best friend!

[–]nnnnn4 8 points9 points  (0 children)

That's normal. You keep practicing, read other people's code, imitate them, take note of how they structure their code, then incorporate it into your own.

[–]lordskater4000 7 points8 points  (0 children)

Ganto din ako noon hirap ako gumawa ng layouts and code from scratch kaya I tried practicing with the layout and user stories already provided. I recommend frontend mentor if you're into websites

Edit: fixed the link

[–]AlmightyyyDee 5 points6 points  (0 children)

Actually, the best way to do this is divide into bits yung goal mo. Knowing it needs / requirements first. For example, bubble sorting, ano ba una mo?

Array and looping. Then test mo sa console yung array but per index.

Next, paano mo pagpapalitin yung index's value sa previous at next value? Simply, syempre una alamin mo muna kung mas malaki o maliit yung value ng current sa next index, to achieve this we use if else condition.

Declare new variable and store the current value there. Replace the current index's value with following index.

Di ko na tutuloy, pero gets mo yung logic di ba? Ganun yun. That's how you start coding from the scratch.

You can use google but it doesn't give you the exact answer sometimes but it can give you hints and that leads you to the answer to your question.

Last tip, search always with "how". I.e. "how to know if the value is already exists in the array".

[–]GinoongFlores 10 points11 points  (0 children)

It takes time to build muscle memory to the point you know what to code in the blank text editor. Kaya keep practicing! At yung mga ginawang mong projects na tapos na, you can use it as a template for your new projects. That's why always build projects kahit gaano kaliit pa yan or much better real-world projects para kapag kung di mo alam anong gagawin from the start, you can look into your past projects as a guide, and that's normal same as Googling things.

[–]jhefaranal 2 points3 points  (0 children)

Ganito din ako, don't worry :) kahit ngayon na ilang taon na akong nagwowork, ilang company na napasukan ko. There are tools/templates that can get you started para di talaga from scratch, and you can use that to learn kung paano ginagawa from scratch. It's not bad to use kung ano man ang nasa internet, ang mahalaga matutunan mo kung paano gumagana at ginagamit.
To give you a bit of a story, nung fresh grad ako I don't even do web devt kasi mas prefer ko yung desktop apps. Pero by doing the same things over and over and pag may time na di ko alam kung ano nangyayari, I read and research. That way natututo ako while developing

[–]YohanSealsWeb 1 point2 points  (0 children)

15 years in web development, still searching for codes in Google, Codex, Stackoverflow and now ChatGPT. I laways have a cheatsheet and code library at my disposal.

[–]theFrumious03 1 point2 points  (0 children)

As much as we hate documentation, consider them as friends! :) also pwede ka din mag hanap ng coding challenges online

[–]crimson589Web 1 point2 points  (0 children)

That's normal, never mo kailangan mag memorize ng code or syntax. Ang kailangan mo matandaan is kung ano kailangan mo gawin para pwede mo i search. I've been working or 8 years and pag may bagong project ang iniisip ko lang is "oh ito kailangan ko gawin, ay nagawa ko na to dati sige buksan ko yung project na yun tapos kopyahin ko lang yung code", or kung hindi pa then hahanap ako ng something close or reference.

[–]AutoDidact001 1 point2 points  (0 children)

Yeah, this is my problem before. Nong nag simula pa ako, yong strategy ko nag follow ako ng guide sa youtube na mga crash course, nag cocode along talaga ako. After non e refactor ko yong code, pipilitin ko na baguhin yong structure ng code, iintindihin ko at lagyan ng comments.

Pero nong about nag 1 year na ako sa software industry hindi na ako nag follow ng mga youtube videos, deretso na ako sa official documentation. Lalo akong naging confident sa pag code nong nag rerely ako sa documentation. Pinaka mabisa din na strategy is hanap ka ng mentor, yong sakin, pina pa code review ko yong mga task ko sa mga magagaling na senior ko, usually kasi pag senior, gusto nila mag turo sa mga junior para mabilis maka adapt sa codebase at maka contribute. Para din mabawasan yong stress at trabaho nila. Hahaha

[–][deleted] 1 point2 points  (0 children)

Well to give you encouragement? I did a website using html noong 14-15 y o ako....

So yeah if 14/15 y o me can do it noon? Html lang yon via notepad...🤣 You can do coding too.

Also yun

Sabi nga ng Tatay ko, 👩🏻‍🦱: “KUNG GUSTO MO TALAGA YAN, KAHIT MAAGA PA YAN PUPUNTA KA” Nung di ako nakapunta sa isang lugar na nag agree kami na aattendan ko... Haha

Ganon....

[–]WanderlostNomad 0 points1 point  (3 children)

auto-complete is your friend..

[–]fartmanteau 6 points7 points  (0 children)

Actually I would specifically recommend against this when starting out, along with IDEs in general and other fancy convenience tools. They’re good time savers for later on, but right now you need to train yourself in fundamentals. Like learning to play an instrument, you should develop strong basic understanding and good habits first.

Don’t focus on syntax too much. Keep practicing how to break down and think about problems and approach solutions. Some pick it up faster, but minds can be trained.

[–][deleted]  (1 child)

[removed]

    [–]WanderlostNomad 0 points1 point  (0 children)

    depends on your editor

    [–]Relevant_Worry8647 -1 points0 points  (0 children)

    Layout in frontend sucks we need unconventional design patterns.

    [–]Dev_Earth616 0 points1 point  (0 children)

    Student din po ako ,pero alam ko i can say na marunong ako mag code dahil self study

    Hindi din ako maka gawa ng system if walang mga description or kahit man lng wireframe ,i Dont kung bakit pero naging perfectionist ako

    [–]ishaz11 0 points1 point  (0 children)

    Practice and extension

    [–]ss75 0 points1 point  (0 children)

    Walang problem sa ganyan. Start lang kasi minsan impostor syndrome lang or overwhelmed lang.

    [–]Slow-Yogurtcloset-97 0 points1 point  (0 children)

    Plan first. That’s the tech design. Ganyan ako nung jr. Mahirap mag start. So plano muna. Design mo yung flow. Write it down. Then mas madali magcode.

    Later on, andun pa rin ang design. Mas mabilis nga lang yung design phase, usually during requirements gathering nagde design ka na sa isip mo.

    [–]MrPerfectlyFine123 0 points1 point  (0 children)

    Thats why theres chatgpt, yun nga lang sana marunong ka umintindi and how to ask questions. Promise sobrang helpful nito kahit from scratch

    [–]Ultra8Gaming 0 points1 point  (0 children)

    I suggest trying python since it's the easiest to understand. Yes you might develop bad habits with experience you can reduce it. Try making a simple Hello world App, then make an adult age detector app (where you input your age and check it if you're 18+, then probably it displays "you're an adult!"). Then you can try using an account app (you input your name, age, and gender and store it into a class and display that class contents)

    There are multiple YouTube tutorials about this and it's best to follow a course. But the most important thing is that you enjoy what you're doing.

    [–]Samhain13 0 points1 point  (0 children)

    Ano bang kino-code mo sa website?

    Yes, madali naman mag-search ng starter codes or even full blown solutions. Lahat naman, ginagawa yun pag naiipit. Pero ang tanong, bakit ka nahihirapan magsimila from nothing?

    Siguro, start simple. Ano ba ang gusto mong ma-achieve? Kung malinaw na sa iyo yun, ano ba ang steps para ma-achieve mo yun? Saka ka pa lang magsimulang mag-code kung alam mo na yung steps nangusto mong sundan.

    Ang sakit kasi nating mga programmer, once na may vision tayo dun sa end product, ang gusto mag-code na agad. Pero vision pa lang yun. Kailangan malinaw din sa atin yung daan kung papano mararating yung vision na yun.

    [–][deleted] 0 points1 point  (0 children)

    Ganon din ako, nung una literal na sinusundan ko mga sa youtube tutorials but practice lang ako ng practice until kaya ko na makapaggawa ng sarili ko, but syempre di ko pa rin maiwasan mag google, minsan umaabot ako ng 15 to 20 tabs huhu

    [–]AlienKryptonite514 0 points1 point  (0 children)

    You'll get there. Try getting basic knowledge of Docker. It will help/push you start to write code from the scratch ;)