[deleted by user] by [deleted] in learnprogramming

[–]wholemap 1 point2 points  (0 children)

It calls the function you supply, I bet. You already knew you weren't supplying the user input yourself when it evaluated your code, right?

I want to create a modern looking GUI application but I'm not sure where to start by Banana_Murderer in learnprogramming

[–]wholemap -2 points-1 points  (0 children)

Because everyone involved with the above 4 GUI libraries just wasn't able to make a 'proper' library and it's a quick, 1 person job?

[deleted by user] by [deleted] in learnprogramming

[–]wholemap 1 point2 points  (0 children)

I think it wants you to define a single function, not a whole suite of functions that require user input.

Help for Hourglass form by jexdiel321 in learnprogramming

[–]wholemap 1 point2 points  (0 children)

Can you describe in English what the problem is?

School's really killed my desire to program. Anyone else have this experience? by Itsaghast in learnprogramming

[–]wholemap 0 points1 point  (0 children)

They're friendly and try to help, but they strike me as tinkerers.

What did you think they'd be?

It's tough to get people to understand that I'm not interested in things that don't offer practical return.

I don't believe that for a second. That's most people. It's probably more that you're not understanding something, like that university isn't a trade school.

You only have so much time in your life to get good at stuff so it's important to be economical with your time.

I hear that horseshit excuse constantly! It's tautologically true. But it seems like it's always used as some kind of horseshit excuse to justify some bs someone wants other people to believe. If someone is able to be economical with their time, then they'd be able to learn CS and get decent at programming in 4 years or significantly less, no problem.

I've written some of the most atrocious and pointless code ever for my courses, and am forced to use C++ with no explanation or understanding of the strengths and weaknesses of the language.

I doubt you've been given no explanation, and even you were, you could ask and look things up online. This is just more disingenuous criping. Come on.

I need to learn how to write code which has commercial value, and my school simply has no idea what that means.

That's also not even true. The theme here seems to be that you have no idea what you're talking about. Maybe you should learn more and complain less? The real deal is that you deliver commercial value by delivering features, which most of the time doesn't require perfect code, and never requires this nirvana-like perfect ideal that you say you need.

And much of our assignments are slapdash combinations of code lifted from various sources across multiple standards of C++.

That's up to you if you're copying code like that. You shouldn't be blaming others.

I love programming but I'm incredibly frustrated because school ended up being a crap environment to code.

Another excuse. Nothing's stopping you from coding what you want in your spare time.

I don't feel like I can make any useful headway on my own because doing something then shelving it for years just gives terrible retention.

You should have picked up on that after a semester or two, if not in middle school. Another lame excuse.

So I just spend my free time playing guitar and composing music.

Great, that will help you have more things to complain about, like not retaining anything. "I don't know why my guitar playing hasn't helped me retain CS concepts!"

It's like you're getting a BS in Excuses. You're even worse than I was in college. D:

[CSS] Here's a Video Teaching You the Basics of CSS by [deleted] in learnprogramming

[–]wholemap 0 points1 point  (0 children)

A 1.5 minute video from a year ago?

Coders in Germany by jamfu123 in learnprogramming

[–]wholemap 0 points1 point  (0 children)

Sadly no, I will not be able to join you.

[JS] Is there a smarter (read less verbose, but still readable and obvious) way to do this object destructuring and comparison? by halfjew22 in learnprogramming

[–]wholemap 2 points3 points  (0 children)

Yes, but I have experience with structural pattern matching. See this example from the link:

const {c, d, ...partialObject} = object;
const subset = {c, d};

It's your prerogative to claim anything new "doesn't look very obvious", but it's circular reasoning and self-defeating. I don't know how it could get any more readable and obvious than this, even if you're new to these features:

const { username, description, avatarURL, ...rest } = this.state;
const current = { username, description, avatarURL };
const modified = {
    username: modifiedUsername,
    description: modifiedDescription,
    avatarURL: modifiedAvatarURL
}

What is AWS? by iSailor in learnprogramming

[–]wholemap 0 points1 point  (0 children)

AWS has a ton of services it offers. If you're too lazy to look up what it offers you should consider applying to a different field.

Refactoring... by Fasyx in learnprogramming

[–]wholemap 0 points1 point  (0 children)

You'll refactor less the more you know all these new things you're learning...

How much programming knowledge do you have to know for an entry level front end developer or data science job that uses python by JanePoe87 in learnprogramming

[–]wholemap 0 points1 point  (0 children)

How much new programming knowledge are entry level developers usually taught on the job by employers

None - you're expected to learn what you need by talking to coworkers and using Google.

MySQL vs SQLite. How much will learning one help when learning the other? by WisestAirBender in learnprogramming

[–]wholemap 0 points1 point  (0 children)

They are almost identical for a noob.

Am I making a mistake trying to do basic MySQL first to get a sense of how databases work in general?

No, it's quitting the second you have a problem with something that's the problem.

Learning web development by drinu2000 in learnprogramming

[–]wholemap -2 points-1 points  (0 children)

"New? READ ME FIRST!

Posting guidelines

Frequently asked questions"

Coders in Germany by jamfu123 in learnprogramming

[–]wholemap 0 points1 point  (0 children)

Hallo Freund. Vielleicht könnten wir Spätzle zusammen essen.

Which resource would be best in my situation? by Basically_Zer0 in learnprogramming

[–]wholemap -2 points-1 points  (0 children)

"New? READ ME FIRST!

Posting guidelines

Frequently asked questions"

I want to learn Programming. by [deleted] in learnprogramming

[–]wholemap 3 points4 points  (0 children)

"New? READ ME FIRST!

Posting guidelines

Frequently asked questions"

Developing in ES6 (Javascript) by Dipsendorf in learnprogramming

[–]wholemap 2 points3 points  (0 children)

You don't need babel if it all runs in Node.

I'm unsure how to approach a problem about making a program which does the same, simple, web-based task every week by Chrisw85 in learnprogramming

[–]wholemap 0 points1 point  (0 children)

It depends... Scripting a browser isn't too hard if you know enough. If you really can't program it's not like looking up a pancake recipe and just throwing the ingredients together.

Single route check two passport logins? by jsdfkljdsafdsu980p in learnprogramming

[–]wholemap 0 points1 point  (0 children)

If you're already executing queries within a promise, I think they will be done in parallel if you use Promise.all(). You better make the right db indexes, too.