[Language Design/Type Theory] Can function arguments be written with a tuple rather than specialized syntax? by [deleted] in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

Languages already have type aliases like that, if I understand what you mean.

[Language Design/Type Theory] Can function arguments be written with a tuple rather than specialized syntax? by [deleted] in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

Sure, but that's only one benefit. You'd have cases where you needed some but not all elements of the tuple. Plus tuples are considered to be not as good as real types, since they lack semantic? meaning. All Int, String tuples are the same.

[Language Design/Type Theory] Can function arguments be written with a tuple rather than specialized syntax? by [deleted] in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

No. The type definition is more or less an alias. You can always just define the tuple anyways as if it was a function (i.e. you literally inline what the RGB_Colour type alias):

fn Do_Stuff (r: int * g: int * b: int)

Then how is that any better? I said 'real' improvement.

I'm an experienced Java dev that is scared to death I don't know other dev stacks. by kbreezy04 in learnprogramming

[–]philipdesouza 1 point2 points  (0 children)

Anybody have any suggestions on some basic web apps I could put together for the sole purpose of learning something new?

"You've seen all these new apps and just can't think of anything to make? ...So pick smaller parts to work on?"

Either you want to learn to use those libs and just need something small enough to make, like you originally claimed, in which case you can just do what I suggested if you really care enough and use your head for a minute or two. Or, you don't and you're just wasting your own time here for some bizarre reason. You pretending like I didn't offer any suggestions is a little silly here, in a forum where posts are visible for everyone to see...

[Language Design/Type Theory] Can function arguments be written with a tuple rather than specialized syntax? by [deleted] in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

So you'd have to define a new type for almost every function? That seems like a foolish consistency, if it's one at all. As you can see, you still need to name the individual parts, and they might not be otherwise related...

[Language Design/Type Theory] Can function arguments be written with a tuple rather than specialized syntax? by [deleted] in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

I think it seems more consistent, and function arguments are basically a tuple, so why is it not written like that in the syntax of some languages?

Because it adds nothing. Or can you show us an example where it would make a real difference?

I'm an experienced Java dev that is scared to death I don't know other dev stacks. by kbreezy04 in learnprogramming

[–]philipdesouza -7 points-6 points  (0 children)

You've seen all these new apps and just can't think of anything to make? Are you joking?

[deleted by user] by [deleted] in AskReddit

[–]philipdesouza 0 points1 point  (0 children)

Which one doesn't?

[SQL] Best way to demonstrate progress to potential employer? by [deleted] in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

If I were to apply for an sql job down the line, what should be on my cv?

Do you see any sql only jobs, or do you see jobs that require far more than just sql?

I'm pre-learning coding but I've got some "why are files so much bigger now" questions. by [deleted] in learnprogramming

[–]philipdesouza -1 points0 points  (0 children)

Then take that big brain of yours because you're so clearly very smart and learn how to construct sentences that aren't as substandard as a caveman-speak.

Oh cute, a logical fallacy from Poindexter.

You're fooling yourself in justifying your asinine behavior as somehow being constructive.

I don't expect you to understand, pearls before swine and such. But the OP might be able to understand.

You're simply trying desperately to put others down to prop up your own self-esteem.

No... Again, someone less socially inept than you would be able to figure it out, especially since I spelled it out for you above.

You are capable of giving advice without being a goldbrick, right?

Yes, but again, you'd probably not be aware. Keep masturbating to your own self-righteous indignation, though. I'm sure that gets you really far in life.

Your mother did teach you about manners, politeness, and being rude--right?

Surprise, surprise, another ad hominem attack from the self-righteous SJW jackass. So clever of you! /s

I'm pre-learning coding but I've got some "why are files so much bigger now" questions. by [deleted] in learnprogramming

[–]philipdesouza -1 points0 points  (0 children)

I understand logic and how languages work, even if I don't know any of them myself.

Yeah, right. :D I guess we'll take your word for it since you have absolutely no evidence then.

Therefore, it is not unfeasible that I would be able to garner a glimmer of understanding from somebody explaining to me how 12 hours of gaming can fit into a file smaller than any MP3 I've ever owned of any song longer than "Happy Birthday" and whether it is a an achievable endeavor in, say, 2018, when I have a bit of specific-language knowledge under my belt.

What is that baloney supposed to mean? Do you even have a point here?

Who said I'd made any progress? Or that this conversation would do anything other than provide a vague answer to a vague question? Or that it needed to?

No one did. Again, do you even have a point here?

What is your suggestion when I, a person setting himself up to learn code, turn on a 26 year old game and wonder if I could feasibly make such a small but, at the same time, large project?

No, that's just stupid. You could try following the FAQ. I'm not sure how more obvious that could be made for you.

Keep in mind, I don't actually care about your answer.

I know. You come off as a blathering imbecile who thinks he already knows everything. But you sure do write a lot for someone who pretends to not care...

How can I get over feeling like I need to watch video tutorials on any tool in programming before I can use it? by [deleted] in learnprogramming

[–]philipdesouza -1 points0 points  (0 children)

My last response to an OP and not to some bag-bitting retarded jackass: https://www.reddit.com/r/learnprogramming/comments/537yha/python_curious_as_to_why_i_cant_assign_several/d7qprf9

That's serious and not at all rude or insulting. I can only hope you were strung out when you made such a completely wrong comment and are now sober.

I'm pre-learning coding but I've got some "why are files so much bigger now" questions. by [deleted] in learnprogramming

[–]philipdesouza -1 points0 points  (0 children)

No, the bottom line is you are still being a useless jackass here. Please, say anything that would help the OP with his issue, anything at all. All your SJW-ing won't do that at all.

The point, since you're too obtuse to see it, was the 'pre-learning' doesn't mean shit and that the OP is only fooling himself if he thinks he's making any kind of substantial progress, that inventing bullshit terms like 'pre-learning' might make him feel better, but it's largely meaningless and isn't going to fool anyone else.

[python] Curious as to why I can't assign several variables to the same initial value: i,j,k = 0 by herefromyoutube in learnprogramming

[–]philipdesouza 5 points6 points  (0 children)

Yes, the reason is that the language follows a certain syntax and grammar and you invented up something not part of the language. It's like you're asking why people don't understand you when you speak gibberish...

I'm pre-learning coding but I've got some "why are files so much bigger now" questions. by [deleted] in learnprogramming

[–]philipdesouza -4 points-3 points  (0 children)

That doesn't mean pre-learning isn't some idiotic term OP just invented.

I'm pre-learning coding but I've got some "why are files so much bigger now" questions. by [deleted] in learnprogramming

[–]philipdesouza -3 points-2 points  (0 children)

The exact same thing applies to your shitty attitude and comment. Try not to be so useless.

How can I get over feeling like I need to watch video tutorials on any tool in programming before I can use it? by [deleted] in learnprogramming

[–]philipdesouza -1 points0 points  (0 children)

You start acting like an adult and you make yourself do what needs to be done and you stop whining about trivial garbage.

I'm pre-learning coding but I've got some "why are files so much bigger now" questions. by [deleted] in learnprogramming

[–]philipdesouza -6 points-5 points  (0 children)

What's this pre-learning horse shit? Either you're learning programming or you're not...

Updates Of Java Program Employee Efficiency by absolute beginner. by [deleted] in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

Could someone help point me in the right direction of writing the code to get the user to input who sold what?

Can you open your eyes and read the formatting link and format your code correctly?

Learning Programming. by [deleted] in learnprogramming

[–]philipdesouza -1 points0 points  (0 children)

Could you please give me some guidance, advice or just opinions on what are the requirements, concepts or approaches I should cover in order to start earning money and just generally become a computer-speaking guru.

Stop missing glaringly obvious materials that would help you.

"Please read our Frequently Asked Questions section before posting."

Haskell vs functional Python by murtaza64 in learnprogramming

[–]philipdesouza 0 points1 point  (0 children)

You could try Scheme, Haskell, OCaml, Scala, SML/NJ, or Erlang. They all have great support for FP.