this post was submitted on 08 Dec 2023
36 points (100.0% liked)
Autism
6894 readers
10 users here now
A community for respectful discussion and memes related to autism acceptance. All neurotypes are welcome.
We have created our own instance! Visit Autism Place the following community for more info.
Community:
Values
- Acceptance
- Openness
- Understanding
- Equality
- Reciprocity
- Mutuality
- Love
Rules
- No abusive, derogatory, or offensive post/comments e.g: racism, sexism, religious hatred, homophobia, gatekeeping, trolling.
- Posts must be related to autism, off-topic discussions happen in the matrix chat.
- Your posts must include a text body. It doesn't have to be long, it just needs to be descriptive.
- Do not request donations.
- Be respectful in discussions.
- Do not post misinformation.
- Mark NSFW content accordingly.
- Do not promote Autism Speaks.
- General Lemmy World rules.
Encouraged
- Open acceptance of all autism levels as a respectable neurotype.
- Funny memes.
- Respectful venting.
- Describe posts of pictures/memes using text in the body for our visually impaired users.
- Welcoming and accepting attitudes.
- Questions regarding autism.
- Questions on confusing situations.
- Seeking and sharing support.
- Engagement in our community's values.
- Expressing a difference of opinion without directly insulting another user.
- Please report questionable posts and let the mods deal with it. Chat Room
- We have a chat room! Want to engage in dialogue? Come join us at the community's Matrix Chat.
.
Helpful Resources
- Are you seeking education, support groups, and more? Take a look at our list of helpful resources.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don’t have a good answer for the question in the title, but for programming specifically, I’d say try and solve a problem you have instead of studying it. It’s one of those things that’s IMHO much easier to learn by trying things out. Start small. Little things you’d like to automate, annoyances on your computer, things that could be useful for your work, etc.
I find making a simple text based calculator is a good way to test your skills while learning.
Start by adding 2 numbers together and outputting the result.
Then upgrade the calculator by getting the numbers from user input.
Now you get to decide the next upgrade. Does the user want to add 3 numbers? Perhaps they want to subtract instead. Maybe the user wants to start a new calculation immediately after finishing. What about error handling? What should the program do if the user enters something that isn't a number?
Each step provides new challenges and new learning opportunities.
Make sure to test frequently. The more code you write between tests, the harder it becomes to track down bugs.
This is what seems to work for me. I built a website for a small music festival and wanted to have the same headers across all the pages. I found out that I could write the header in JavaScript and just call it on each page, meaning that updates would only have to be done to one file.
I copied the code from an example I found first, then tweaked it to suit my needs, and then played with adding and removing functions to see what they do. I then copied the format for the footer, and found a few other ways of tweaking the site with JavaScript.
I'm still a long way from being proficient, but I understand a lot more than when I started :)