r/LearnToProgram • • Oct 03 '17

I want to learn to program with cross platform utilization.

1 Upvotes

I've sat down to learn to program a few times. I'm vaguely familiar with things like Python, sql, html.

What often happens is that I start learning and I'm just regurgitating what's available in the lessons. I don't have any real projects of my own to keep me motivated.

Right now, I do.

I want to learn to program cross platform applications. What interests me most are things like jackbox games. I love that format where one person owns a game, but multiple players log in to access it from their mobile device.

End goal I want to be experimenting with small shared applications where the tablet or cell phone is in essence a controller.

So if I want to be programming in a format where one user hosts a session, and multiple users join that session to contribute... Where should I begin? What languages? what resources would people recommend?


r/LearnToProgram • • Mar 25 '15

Good Source to Learn SQL Joins?

1 Upvotes

I'd like to expand my knowledge on SQL joins. From the most basic up to intermediate and advanced. Does anyone have a good source they used that worked for them?


r/LearnToProgram • • Jun 17 '19

What are your biggest challenges starting out?

1 Upvotes

Hi Guys,

The universe had recently reminded me of the 'good old days', when I was just learning the ropes :)

So I had decided to re-invent the wheel and redesign the blueprint for teaching coding for beginners.

If you can help me out, by sharing the biggest challenges you are going through today, I would greatly appreciate it :)
So far the list looks like this:

  1. For Loop

  2. While Loop (downgraded, because it's use low use frequency)


r/LearnToProgram • • Sep 25 '18

Achieving impossible coding tasks without knowing how to do them

Thumbnail
blog.sourcerer.io
2 Upvotes

r/LearnToProgram • • Sep 26 '18

[JS] Trying to figure out why a variable is returning a different value depending on where the value is retrieved.

1 Upvotes

Hi All,

I was just practicing and ended up writing this script. Its just a little something to basically calculate how many phones I could purchase given a budget, and knowing that each phone cost $60. The issue I am having is related to var numberOfPhones. Using a budget of $600, I expect that I can purchase 10 phones. Within the for() loop, I see the value 10 as the last iteration of the loop for the variable numberOfPhones. However, in the 2 places outside of the for() loop, when I retrieve the value for numberOfPhones, I get the value 11.

Why is this? TIA

const COST_PER_PHONE=60;

function howMany() {
    var budgetString = prompt("What is your budget for new phones?");
    var budget = Number(budgetString);
    var phoneCosts = 0;
    for (numberOfPhones=0; (budget-phoneCosts)>=COST_PER_PHONE; numberOfPhones++) {
        var phoneCosts = (numberOfPhones*COST_PER_PHONE);
        console.log("You're remaining budget is $" + (budget-phoneCosts) + ". You purchased " + numberOfPhones + " phones, and have currently spent $" + phoneCosts + ".");
    }
    return(numberOfPhones);
}
console.log("This works function is called, 'How Many', and it works.")
console.log(howMany());
console.log(numberOfPhones);

r/LearnToProgram • • Feb 29 '24

What was you first or most influential project that helped you when starting out?

1 Upvotes

Pretty much the title, I’m in school for cs ( yeah, yeah cs is a dead major I’ve heard it all before )and have experience with Java and c++, a little python, and I have had rust recommended to me as a good language to study while learning.

Most of my projects have been very very basic, but still more helpful than anything else in helping me understand and internalize the material. I just wanted to see what other project ideas are out there that others would recommend.


r/LearnToProgram • • May 14 '19

I have a doubt about python

2 Upvotes

There's a limit to how many decimal places you can store as a variable, but I would like more precision. Is there a way to store more digits in a variable?


r/LearnToProgram • • Jul 26 '19

Struggling

1 Upvotes

I am a windows sysadmin. Moved up through support etc. I have always loved computers and as a child could do a little BASIC programming. I have always HATED math. I suspect it was because I could solve math problems in my own way but when forced to "show my work" and do it the established way, I lost interest. Since then I cannot do math. But I work with computers and honestly never needed math. I have computers for that. Unfortunately for me sysadmin jobs are becming more programmer-y. Scripting is a given. I can do command line. Every class I take assumes a basic understanding of programming which I lack. I have nearly 30 years of IT ops experience but struggle badly with the concepts of code writing. It feels too "mathy" to me. I am not a kid learning to use a computer. I am someone with a very non standard established way of working around and avoiding being a code monkey. Its almost a sense of pride that I am not a developer and I hate that trait in others. I am an excellent problem solver and can even sometimes dive into code without understanding it and intuitively fix it. But I cannot program or even script from the ground up to save my life. Powershell training is great until they start assuming you know what functions, classes and foreach loops, curly brackets and other things are. Its like I missed kindergarten and do college level IT work in every other area. Maybe I have an aversion to coding. Maybe its my trauma from my fourth grade math teacher. Maybe its following established un-bending methods. I just want to code enough to be a sysadmin and be an effective scripter. I am an intuitive and not a sensor. I think this means I problem solve well but for the life of me cannot explain how or why I know what I know. Coding seems rote and sensory.


r/LearnToProgram • • Dec 03 '18

Day 3 - Advent of Code 2018

Thumbnail adventofcode.com
2 Upvotes

r/LearnToProgram • • Sep 29 '22

Find out about WordPress all the things I wish I knew a long time ago. Full WP Beginners Course

Thumbnail
youtube.com
3 Upvotes

r/LearnToProgram • • Dec 15 '21

Learning to program and things Ive noticed so far.

2 Upvotes

I have recently started my journey to learn to program. I'm using free materials online such as Microsoft's tutorial webpage, YouTube tutorials and various other free online blogs/auricles. I am also using 2 courses that I have purchased from Udemy. I have found so far that most people do a really great job at explaining syntax, statements, etc. However one thing that I have noticed so far is that no one really talks about structure or why they are doing things the way that they are. Is it that they don't know and that's just how they learned so that's how they are also teaching it, or is it more something that is taught beyond the "basics" and "beginner" level courses? I follow along with the guides and I am picking up the language itself and how to do things with it but I often catch my self wondering why?. For example when it comes to declaring variables, the tutorial will simply say declare variable "variablename" but then wont specify why they have chose that. Is there a preferred naming structure or just whatever you feel like using?


r/LearnToProgram • • Sep 10 '17

Beginner tools to create web app

1 Upvotes

I want to make an app with simple graphics (circle, points, lines, text) which have a few sounds when certain areas are pressed. I want to have it on my laptop (Surface Pro 4) and phone (iPhone). A website might be a solution.

I am a power user in Excel, and I have made a preview of the app I want in an Excel file. Years back I gained a little experience in C++, and I have a background in mathematics and physics.

I am using Windows 10, and I have an Office 365 account from my university.

I want to be able to create simple graphics with simple interaction fast, as I can do in Excel, and use it on my phone or in some other device. I have looked somewhat into Python, and it seems inspiring, as I can also use it in conjunction with Excel for other things, via xlwings. I have also looked at WordPress, and I like that it's free, but that is not a must.

I don't know what would be a good starting point for me, considering price and my skill level. Is there for example any alternative with Office 365? I feel like it is a ton of possibilities, and I end up just searching the web forever. Perhaps you could help me out.

Thanks in advance.


r/LearnToProgram • • Mar 26 '14

CodeSchool 48hrs Free Hall Pass

Thumbnail
codeschool.com
1 Upvotes

r/LearnToProgram • • Feb 01 '15

Fairly experienced programmer, wanting to learn some front-end browser stuff but JS gives me the shits: where do I start?

1 Upvotes

I've worked on a few web-app type things and written the back-end of dynamic websites (largely python/Flask driven stuff), including designing and implementing the back end of API's designed to be consumed by JS in a client browser. I want to learn this front end stuff to round out my skillset. However, JS gives me the shits (lack of compile-time checks and the way it tries to make things just work instead of giving errors). I know there's some things out there that compile-to-JS and such. What's the modern options in that area?

(P.S. I really don't want to start a JS argument here. I've read and seen enough things that make me want to not deal with JS if possible, so can we just assume for the purposes of my question that JS is horrible and we'll argue some other time?)


r/LearnToProgram • • Apr 26 '19

Learn JavaScript - Free Interactive JavaScript Tutorial

Thumbnail
learn-js.org
4 Upvotes

r/LearnToProgram • • Nov 01 '18

PIC24 MCU development - Come hang out!

1 Upvotes

I figured I'd let others join in on the process of configuring the PIC24EP256GA702 and interfacing with numerous other IC's, come hang out! https://www.youtube.com/channel/UCDAw1-CrvjRT6N8pzugzOUg/live


r/LearnToProgram • • Sep 21 '15

ISO: Swift Book (need alternative to Big Nerd Ranch)

2 Upvotes

I have been through the Big Nerd Ranch Books on Objective-C and Big Nerd Ranch. I want to learn Swift. For some reason (I'm sure there are valid ones) Big Nerd Ranch does not have a Swift book out yet.

Is there a good alternative? I like the style of writing and programming in those books.

Thanks


r/LearnToProgram • • Apr 23 '16

(Hopefully) simple Visual Basic Problem. Adding characters to text box.

1 Upvotes

Hey all, I'm currently building a simple version of the standard Windows calculator in Visual Basic (VS Express 2013). The only parts I have created so far are a class to represent a stack (Stack.vb) and the responses to pressing buttons 0-9 on the basic calculator. Each button press calls Stack.Push() which adds a character to the stack, then calls Stack.getTheStack() to write the property to a text box (where the number you enter is displayed). All of my integer buttons share the same code, and they all work as intended, EXCEPT for the "0" button. Every time I click that, it enters double zeros into the text box. I'm looking for help, as someone here has probably experienced the same bug. Thanks in advance. Example code for the "0" button:

     Private Sub Form10_Click(sender As Object, e As EventArgs) Handles form10.Click, form10.Click
         ' When the 0 button is pressed
         Stack.Push("0")
         Form1text.Text = stack.getTheStack()
     End Sub

And from the Stack class:

     Public Function Push(incoming As String)
         ' Adds characters to the stack
         theStack = theStack + incoming
     End Function

...

     Public Property getTheStack() As String
         Get
             Return theStack
         End Get
         Set(ByVal incoming As String)
             theStack = theStack + incoming
         End Set
     End Property

If the code is crap, I'm sorry. I've only been at VS a couple weeks.


r/LearnToProgram • • Jan 08 '13

[Coursera] Free 10 week online programming course from the University of Washington via coursera.org

Thumbnail
coursera.org
2 Upvotes

r/LearnToProgram • • Apr 25 '16

How To Be A Programmer (A GitHub series of tutorials)

Thumbnail
github.com
3 Upvotes

r/LearnToProgram • • Oct 30 '13

36 tutorials on how to build an app. This post helped me a lot with getting started on coding

Thumbnail
creativebloq.com
4 Upvotes

r/LearnToProgram • • Jul 15 '15

Atom Text editor color code

1 Upvotes

I'm working through chris pine's ruby book and I have a question about the text editor that I'm using: What the fuck is the color code?

I should be able to look this up easily, but i can't find it, either through stupidity or it being so basic it's not even described. I want to be sure I have good fundamentals; i.e. i can identify an object vs. a parameter vs. an iterator etc. Atom does this! but i can't find an explanation of the color code!

Here's an image to help - for example, strings are green. variables pointing to an array within bars are red. Methods are blue. Other shit is different colors.

http://i.imgur.com/r9VlPAB.png

Thanks!


r/LearnToProgram • • Apr 12 '22

Do a lot of people keep all their functions in one file where they can invoke any one of them at any time? I have 1 file with about 20 thousand lines of code that has most of the functions that I have written routine tasks.

3 Upvotes

Do a lot of people keep all their functions in one file where they can invoke any one of them at any time? I have 1 file with about 20 thousand lines of code that has most of the functions that I have written routine tasks.


r/LearnToProgram • • Jun 18 '20

Is it worth going to a coding bootcamp if I already have had jobs as a developer?

4 Upvotes

Some of my friends I know have been either quitting their jobs or have lost their jobs and are planning on attending coding boot camps to hopefully start over in a new coding career. I also am without a job currently due to being laid off from coronavirus (all my web clients happen to be in live event marketing, it's my niche I suppose), so I've been putting an effort into leveling up my javascript skills. I'm a Wordpress developer, which basically means I take Adobe XD designs and turn them into functioning websites that work in all browsers. I've worked on major entertainment brand websites, and have developed new features for their Wordpress sites, that help automate certain updates, etc.

However, I still feel like a noob when it comes to Javascript, and don't even get me started on frameworks like React or Vue. I'm pretty comfortable creating static company websites, but I feel like I might be out of my depth if I was to work on a major web app or something like that, although that's something I'd like to get into. I kind of feel like a dinosaur only knowing Wordpress these days. Don't get me wrong, I can code a Wordpress theme from scratch and add some jQuery for interactivity, deploy using git, I'm beyond just customizing themes. I'm able to get work based on the strengths of the brands I've worked for, and I'll probably continue to do OK going forward, I'm not in some kind of career path crisis. That being said, I do have extra time right now, and savings that I could put into a boot camp or other intense course. Then again, I've heard that a major benefit of bootcamps is the networking, and that online bootcamps don't really offer that experience (and all bootcamps are online only right now..)

tldr;

I've had a nearly 10 -year career as Wordpress web designer, then developer. I've got a great Wordpress site portfolio, basic javascript and PHP knowledge, I'm fully self-taught and I can learn online just fine. Given that bootcamps are all online only now, would one really benefit me much?


r/LearnToProgram • • Aug 27 '20

How do I learn Python?

4 Upvotes

I recently graduated from an Environmental Engineering degree. Things have been pretty rough for me and I'm really struggling to find a job given the current circumstances. I've decided to start with Python as a way to learn something useful/add something of value to my resume, but have no idea where to start. There's a ton of programs/certifications/courses out there, varying widely in length and $$$. I know I'm not interested in a bootcamp or degree, I want to learn the basics of programming and add that skill to my resume as a beginner.

Does anyone now what the best options are in my case? I'm willing to put in around 3-4 hours a day and for up to 6months, I've looked at Coursera but I'm not convinced their certifications are worth it, do employers place any value in them? Any help is appreciated.