Goal: post daily, even if it's just a 'yup, still here' message.
I warn in advance, the way I am coping with a lot of my brain stuff is super random so if there is subject matter it is likely to be all over the place on any given day. Also, probably boring. Sorry? I plan to (subject to change, because who knows when a long whiny post about being crazy might suddenly seem like a good and cathartic idea) not post about the brain stuff itself, though.
Today it's programming. Specifically that programming has been added to my list of 'stuff I'd like to learn'. That's a long list, which I tend to jump around a lot on, getting obsessive for awhile and then jumping to something else on the list for awhile and then jumping back and ending up with a lot of 'knows a little about a lot' rather than a lot about anything, but anyhoo. I like to learn stuff?
Python is my starting point, and so far I'm having fun even though I have not progressed much beyond "Hello, world!". Current observation on learning materials for beginning programmers: oh my god, y'all, not all of us want to learn programming because we are also math geeks. Some of us enjoy logic and problem solving but loaaaathe math.
So making so many of your beginning examples with the assumption that I either already know how to do shit like calculate the angle of a polygon on paper, or would ever want to is a bit counterproductive. If you're me. Because the actual concept you're trying to teach me has nothing to do with calculating the radius of a circle and everything to do with being able to translate 'thing I know I want the computer to do' into 'the language I use to tell the computer so it understands to do the thing'.
If I don't know how to do or understand the thing you want me to want the computer to do, I'm going to spend half my time trying to figure out what doing that thing looks like so I can then tell the computer to do it, and that leads to me crying into my variables whimpering 'No seriously, I only care about pi when it's being used as a a joke about Dean Winchester and snacks' and then it takes me twice as long to get to the part where I understand how to tell the computer to do a thing. So:
Makes TOTAL sense to me if it was an example (it...actually works when I run it through the interpreter, though I'm sure I did something wrong or I could make it much cooler if I knew more, and as it stands if the hypothetical user typed in 'blueberry pie' instead of just 'pie' at this point Dean would erroneously be hating on them. But you notice how there's NO MATH, and yet I made the computer do a thing? I wish more programming resources embraced this concept. Perhaps with less manpain tears. But definitely more pie.
Anyhoo, this is your random ramble on my adventures in learning to program today.
I warn in advance, the way I am coping with a lot of my brain stuff is super random so if there is subject matter it is likely to be all over the place on any given day. Also, probably boring. Sorry? I plan to (subject to change, because who knows when a long whiny post about being crazy might suddenly seem like a good and cathartic idea) not post about the brain stuff itself, though.
Today it's programming. Specifically that programming has been added to my list of 'stuff I'd like to learn'. That's a long list, which I tend to jump around a lot on, getting obsessive for awhile and then jumping to something else on the list for awhile and then jumping back and ending up with a lot of 'knows a little about a lot' rather than a lot about anything, but anyhoo. I like to learn stuff?
Python is my starting point, and so far I'm having fun even though I have not progressed much beyond "Hello, world!". Current observation on learning materials for beginning programmers: oh my god, y'all, not all of us want to learn programming because we are also math geeks. Some of us enjoy logic and problem solving but loaaaathe math.
So making so many of your beginning examples with the assumption that I either already know how to do shit like calculate the angle of a polygon on paper, or would ever want to is a bit counterproductive. If you're me. Because the actual concept you're trying to teach me has nothing to do with calculating the radius of a circle and everything to do with being able to translate 'thing I know I want the computer to do' into 'the language I use to tell the computer so it understands to do the thing'.
If I don't know how to do or understand the thing you want me to want the computer to do, I'm going to spend half my time trying to figure out what doing that thing looks like so I can then tell the computer to do it, and that leads to me crying into my variables whimpering 'No seriously, I only care about pi when it's being used as a a joke about Dean Winchester and snacks' and then it takes me twice as long to get to the part where I understand how to tell the computer to do a thing. So:
def dean_wants_pie(tasty_treat): if tasty_treat=="pie": print("No more single manpain tears, PIE FIXES EVERYTHING") else: print("Dean hates you now") dean_wants_pie(input("What kind of tasty treat do you have?"))
Makes TOTAL sense to me if it was an example (it...actually works when I run it through the interpreter, though I'm sure I did something wrong or I could make it much cooler if I knew more, and as it stands if the hypothetical user typed in 'blueberry pie' instead of just 'pie' at this point Dean would erroneously be hating on them. But you notice how there's NO MATH, and yet I made the computer do a thing? I wish more programming resources embraced this concept. Perhaps with less manpain tears. But definitely more pie.
Anyhoo, this is your random ramble on my adventures in learning to program today.
From:
no subject
I like your program! :D Once you learn about indexing you could have it check if the last 3 characters of the input are "pie", which is not a perfect solution (someone could enter "pies" and get the wrong response) but it might be heading in the right direction?
From:
no subject
It's just so frustrating because although there is overlap in 'things you need to be good at to do math well' and 'things you need to be good at to program well' they are not the same thing, and I'm now wondering how many people who are kickass problem solvers and logic whizzes with the capability of coming up with beautifully efficient and creative code are...not programmers because they took one look at some of the examples and went running for the hills screaming.
From:
no subject
… of course, I am not actually a programmer myself, which may have something to do with my approach ;)
Anyway, If you ever want to learn Foundation or jQuery, let me know, and I'll be happy to email you my code samples and talk you through things. Just, er, not until Project From Hell is over.
From:
no subject
BLESS YOU. Like, I am certain one of these days I will want the computer to do something that involves calculating something mathy, at which point I'll have to suck it up and learn that math so I can tell the computer to do it. But I don't need to learn math in order to know how to tell the computer what to do, if that makes any sense, hee.
Also, ooooh, learning Foundation and jQuery sounds awesome. I think I will be in Python land for quite some time, there is so much to learn OMG, so no worries about it being much later, but I'll probably hit you up for that :D
From:
no subject
From:
no subject
From:
no subject
From:
no subject
Also I am sad I did not realize, 'cause I've been so out of it, that there was a Highlander rewatch going on. With the way my brain is flopping around I don't know when I'll be able to catch up and play along, but I am hoping it happens, 'cause OMG. I don't think I've done a full rewatch since my first time through.
From:
no subject
From:
no subject
Wow, programming! I am mightily impressed. Always knew you were super smart.
From:
no subject
Heh, I'm pretty sure nothing I've learned programming wise so far is either impressive or smart. I hope someday to be able to actually do something or other with it, though I'm not sure what, but it's good distraction for now until my lack of focus and attention ends up somewhere else :D
From:
no subject
From:
no subject
From:
no subject
From:
no subject
Programming is so much fun, IMHO, and I'm lucky enough to have made a living from it, so feel free to ask me stuff.
Ooo! If you want to learn how to code websites using HTML, CSS, and Javascript, check out Dash. It's a simple, step-by-step approach to programming, using concrete examples with immediate results, and a minimum of math. The language can be a little ra-ra at times, but I love the positive "you can do it!" attitude.
From:
no subject
I'm holding off on learning any web programming type stuff for now, 'cause my main interest in what I would do with programming if I ever manage to get anywhere with it is programs that may be useful for vidding stuff and messing about with game creation. So Python to start learning, and see where it goes from there depending on if I decide to keep going :D
From:
no subject
I recently had to learn some python quick-like for my job. I used "python the hard way" which is kinda misnamed; in my opinion it is kinda like the immersion way of learning a foreign language, every lesson just has you doing it, and bit by bit you learn it in pieces. Python is fairly popular lately; personally I find it a bit painful but useful for some things.
From:
no subject
How come you find Python painful? It feels pretty straightforward to me as of now, but I'm also still in the early stages where I'm not trying to make it do anything too complicated.
From:
no subject
Python has a number of features that are... user friendly, I guess. That's the cool new thing. (See also Ruby, the language you can easily mistake for "that thing I wrote out in normal english pseudocode and will actually write in a real language later". (That link goes to a really popular book to learn Ruby; you may like it.))
My biggest annoyance with Python, and an easy example to explain -- in most (nearly all) programming languages, indentation is a human thing, for readability. There's no meaning to the intents; there's plenty of styles (and flame wars) over the 'proper' way to indent things, but mostly it is done solely to make your eyeballs happier. Python, on the other hand, says "screw using {}s for blocks of code, we folks all indent stuff, and often a section of intended lines is a logical grouping, so *POOF* intentation replaces {} for marking sections, tada.
For you, you may never have these issues at all, and in fact value Python precisely for these features. For me, and my daily usage of Perl and history of many other older programming languages, Python hurts me in my hurty place.
From:
no subject
Good luck Becca :)
From:
no subject
From:
no subject
From:
no subject
Learning Python is awesome! (is a PHP geek himself)
From:
no subject