Getting started with desktop apps. What do I need? (ELI5 maybe?) via /r/learnprogramming


Getting started with desktop apps. What do I need? (ELI5 maybe?)

Hello guys. I think it's my first time posting here, but I've been lurking for a while.

I'm a university student that has a hard time learning if the subject matter doesn't interest me. So when we do programming at school, and use the classic boring and idiotic examples, I have a really hard time focusing and learning. (I realize these examples exist because they make it easier to understand some concepts, but for me they don't work).

So I think it's time to stop depending on school and start learning on my own. A friend of mine, after I told him that, provided me with a programme idea for the windows desktop. His father is a contractor, who has many different "jobs" and several people working for him. He needs an app that lets him input data like who works at which job and the remaing budget etc. Things like that, that take tons of time to just do on Excel. I'd like for the programme to output an excel file though, but that's for later to think.

My question is not how to make this app, but what exactly do I need and where do I start.

I hope you take the time to guide me…

1. Language

At first I thought I'd do it in javascript so that it could run in a browser, but I realize that js has limitations and since I'd need a local database of sorts to keep the info, maybe it's not the best choice.

So I turned to something like Java or C++. It would be a good opportunity to learn the language (whatever I end up using) and I think they are more suitable for desktop apps. So which should I choose?


2. Tools

I'm probably gonna be using Netbeans if java, and Visual Studio for C++(maybe even netbeans for that too). The tools probably don't matter.

What matters though is that I have no idea how GUIs and stuff are made. What libraries I should use etc. Basically outside of the coding part, I know nothing when it comes to using tools etc. I can learn the syntax etc, but I have no idea where to start on anything else.

An example of what I mean is in JS. There are things like AngularJS and Node.js and stuff like that but I have no idea what they are or what their uses are, nor how to use them. So things like that would be really helpful.


3. Anything else I should know

I realize that the app may never be finished but it's an interesting opportunity for me to learn a few things about app development outside of coding.

Any help, tips, resources, websites or whatever I could use, would be perfect. Thanks in advance.

Submitted June 30, 2015 at 07:28PM by kiiraklis94
via reddit http://ift.tt/1Ntz9Un

Java, Interview Question, Create 1d array out of… via /r/learnprogramming


Java, Interview Question, Create 1d array out of…

Was asked this question in an interview today.

"Create a 1d array out of: [1, 2, 3, 4, [6, 5], [7, [8, [9, [13, 12, 11]]]]]"

Now in my experience in these situations they want you to write a method which will take some sort of input and solve a problem. But what type of input can be used for this? As far as I'm aware lists in java have to be of one type. So whats the method declaration? public int[] convert(??? data) {…}

Could anyone help me out? I was completely stumped.

Submitted June 30, 2015 at 07:46PM by weRtheBorg
via reddit http://ift.tt/1HtdHxX

LPTH & VIM: Will using VIM instead of another editor hurt me? via /r/learnprogramming


LPTH & VIM: Will using VIM instead of another editor hurt me?

I taught myself how to use VIM the other day because my developer friend impressed me with how 1337 she was using it. Anyway, joking aside, I wanted to know if using VIM will work against me instead of using something like TextWrangler which I was using as per the instructions in Learn Python the Hard Way since it does that thing where programming lines change color based on the kind of line it is or whatever.

I want to get in the habit of using VIM but some people have told me it's dumb. I've searched this subreddit for VIM and learning it and it seemed like a good idea to based on the results i've gotten.

Can anyone give any advice? Will I be losing out by missing features such as that color differentiation thing which to me is the biggest visual difference between VIM and a more "modern" mouse-based editor?

Thanks!

Submitted June 30, 2015 at 06:49PM by Optimuminimum
via reddit http://ift.tt/1U5JEBS

Project Euler Question 3 via /r/learnprogramming


Project Euler Question 3

Hi all, i'm working through project Euler and i'm on question 3. I have to find the largest prime factor of 600851475143. I have an idea of how to go about solving it but i'd like to learn good habits from the start and was hoping somebody could tell me if my thoughts on solving it are the right way to look at the problem.

here is what i aim to do:
list all prime numbers up to 600851475143 in an array sort array from largest to smallest iterate through array dividing 600851475143 by each element until modulus = 0 When i hit a modulus of 0, i have the largest prime factor.

there is probably a much easier way to solve the problem. ( would it be better to iterate backwards through the array starting at the index of array.length? or maybe reverse the array? )
not looking for a solution here, just a nod that i'm thinking efficiently.

Submitted June 30, 2015 at 06:59PM by Plus_one_mace
via reddit http://ift.tt/1C6CqIg

Accessing python from Git bash via /r/learnprogramming


Accessing python from Git bash

Hi,

I'm pretty new at this so even this title might not make sense, but anyways I installed Git and and can use git from the git bash I got when I installed it. So I'm following this Flask tutorial and hit this spot where they reached for Python, and I couldn't access the Python3.4 –version part, it said sh.exe": python3.4: command not found. I'm just confused what he's even using? I'm on Windows so should I be using the Python IDE?

Submitted June 30, 2015 at 07:00PM by xczcxzczxc
via reddit http://ift.tt/1GN18K4

which programming language is desired the most when looking for entry-jobs? via /r/learnprogramming


which programming language is desired the most when looking for entry-jobs?

Hey guys, I recently got interested in programming and would like to learn one for a possible career even though I'm a mechanical engineering major. Can you guys tell me which language is most in demand for entry-jobs?

Submitted June 30, 2015 at 06:12PM by yjy3
via reddit http://ift.tt/1Ht6azk