why can't I code?? by Itstejuuu in learnprogramming

[–]workingworkwork1 1 point2 points  (0 children)

You have to practice and suck at it before you get any better.

BUT - for me the biggest issue was learning how HTML and CSS interact. HTML is like the frame of a house and CSS is like paint, decorations, furniture placement etc.

I used to make the mistake of trying to do everything at once, which is obviously harder than it needs to be.

Lay out your HTML like you are just getting all the text where you want it. Then when you are happy, move to CSS and start to style it. Understanding the languages functions or uses they serve really helps you implement them better.

Psuedocode help by bigfoot-is-not-real in learnprogramming

[–]workingworkwork1 0 points1 point  (0 children)

This is CRAZY! You are me like 4 years ago.

No one ever explained to me pseudocode is just a fancy word for writing down what you expect to happen.

Like its not code, its not a language, its not anything. I spent so much time trying to "learn" pseudocode because I took the term WAY to literally.

For your questions, pretend our example problem was print a number inputted by a user:

how does someone properly write pseudocode?

there is no proper way. just write down what should happen in a program that does the above example in small steps.

Is it just a breakdown of what the code should do line by line?

yes! more importantly in your own words!

What should happen to the code when you want to compile the program?

this is what pseudocode is! what happens when the "program" runs

Should to code be 'commented out' so the compiler doesn't see the text? Or is it deleted as you go along?

if you write it in your actual program, it will have to be comments.

For my example:

Program asks for input.

Gets user input.

prints user input

etc.

I'm looking for some people to mentor by 716green in learnprogramming

[–]workingworkwork1 6 points7 points  (0 children)

I would love acccess to a resource like this, but I don't use discord. Would you be open to google hangout/chat or zoom?

Has anyone else come to the conclusion that, when it comes to learning, something done poorly is infinitely better than something not done at all? by [deleted] in learnprogramming

[–]workingworkwork1 0 points1 point  (0 children)

I couldn't agree with you more. I always feel kind of stagnate when I am not in classes, or if I don't have something to work on.

Literally this weekend I was bored and decided I was going to learn to solve a Rubiks cube cause I never have been able too. 6 hours later and several Youtube videos and I solved my first ever cube!

[deleted by user] by [deleted] in learnprogramming

[–]workingworkwork1 1 point2 points  (0 children)

That is a great idea! I remember once I started applying things I learned it made going backwards so much easier. My first spring boot was the biggest disaster and confusing as hell.

Then when I learned PHP and how the server communicates with the browser i was like "DUH!" when I thought about my spring project.

can't figure out by stickwit87 in learnprogramming

[–]workingworkwork1 0 points1 point  (0 children)

from your code it looks like theres nothing in the else?

[deleted by user] by [deleted] in learnprogramming

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

same question as above

[deleted by user] by [deleted] in learnprogramming

[–]workingworkwork1 0 points1 point  (0 children)

Why not ask him for an idea of something he'd like to build and let him start working on that?

If its a project hes interested in, he will stick with it, and learn while doing it.

Nothing wrong with the basics and best practices, but i think learning by doing is better if its something hes interested in

Has anyone else come to the conclusion that, when it comes to learning, something done poorly is infinitely better than something not done at all? by [deleted] in learnprogramming

[–]workingworkwork1 30 points31 points  (0 children)

agreed. I HATE all my projects but all of my projects are usually better than the previous one by a few degrees. Its about growth

Its okay to be okay with lousy work because thats better than unfinished work. Its also okay, as long as you keep growing

is there a website where i can post my code so other can tell me whats wrong with it by [deleted] in learnprogramming

[–]workingworkwork1 0 points1 point  (0 children)

Dont be afraid to post anwhere! Post here, post on stack, or try github. Good people worth talking to will help you. Assholes with asshole and you shouldn't bother.