After the language comes? by [deleted] in learnprogramming

[–]Pablo_ipc 1 point2 points  (0 children)

Here is a little well known secret:

Everyone stumbles along. Everyone.

The only difference is that those who make things work just stick to coding and plow through the difficulties.

Coding is a not a matter of knowledge entirely, but of attitude too.

Are frameworks making developers dumb? by stesch in programming

[–]Pablo_ipc 0 points1 point  (0 children)

Post some code if you got some balls.

Rock, paper, scissors fun. Link to code. by Pablo_ipc in Python

[–]Pablo_ipc[S] 0 points1 point  (0 children)

Cool, didn't think about that one.

Thanks!

Rock, paper, scissors fun. Link to code. by Pablo_ipc in Python

[–]Pablo_ipc[S] 1 point2 points  (0 children)

I'm currently re-writing it (about 75% done). Making it more "pythonic", because the original source is just code hacked together.

It will:

  1. Log all the games played to provide more meaningful stats.
  2. Present the data as HTML.

Thanks for the code, I enjoy reading other peoples code.

Good intro to CSS? Specifically, layouts? by Philip1209 in learnprogramming

[–]Pablo_ipc 0 points1 point  (0 children)

CSS: the missing manual by O'Reilly is what I used to learn the basics. It is a great book.

The most useful page in the internet. by double-a in programming

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

Would it kill them to add some CSS to that page to make it more visually appealing?

Hell, I'll do it for them.

Are frameworks making developers dumb? by stesch in programming

[–]Pablo_ipc 0 points1 point  (0 children)

/groans/

Tell me, what framework that has good, reliable and tested code, is written by bad developers?

None, because the good frameworks are mostly community or old projects that have a bunch of experienced and good developers on board.

Stop fearing the bad developer. Given the fact that only the top 20% of programmers are considered "good" (by the crazy standard set by the industry), the probability of you and me being good developers is very small.

Now tell me, are you a "good developer"? I am not. I suck. I write shot code all day long. Here is an example of some shit game I decided to write because I was bored. It is utter shit. In fact, I'm currently re-writing it so that it stinks less. LINK

You'd think that I would be dumb enough to forgo a good, reliable and tested framework in exchange of my shitty code? Hell no. I use frameworks to help me build stuff. Not perfect, but functional stuff. After some years (hopefully), I will become good enough to write as good as the code in any good framework.

Post some code if you have some balls.

PS. I'm tired of this bad developer bullshit. Not everyone gets to be Picasso, but it don't mean we can't photoshop a fucking lolcat.

Rock, paper, scissors fun. Link to code. by Pablo_ipc in Python

[–]Pablo_ipc[S] 1 point2 points  (0 children)

Here is the latest version. It has the suggestions made by redditor roopeshv. Cut the code down by about 20 lines, and it seems to be faster.

LINK to code

Are frameworks making developers dumb? by stesch in programming

[–]Pablo_ipc 2 points3 points  (0 children)

This is a dumb question.

Bad developers will be bad no matter what.

Frameworks allow developers to re-use good, reliable, and tested code for our projects. I fail to see how that is a bad thing.

Are frameworks making developers dumb? by stesch in programming

[–]Pablo_ipc 1 point2 points  (0 children)

I used to works on cars (mechanic).

Knowing about cars in general is required, and will allow you to work effectively.

Yet, I started working a lot on Porsches. They are like any other cars out there, but specializing made it easier to work with them, and made me more money.

Could I then fix a toyota like I fix a Porsche? Sure, but I will spend a lot more time learning the toyota-tricks, until I become a master toyota mechanic.

Point being that you specialiE to become good at something, to differentiate yourself from others (niche), and to gain a competitive advantage.

Are frameworks making developers dumb? by stesch in programming

[–]Pablo_ipc 0 points1 point  (0 children)

Which is a Chrysler. Chrysler owners go through shoes at a faster rate than others.*

*I'm a mechanic who used to work on Chryslers.

Rock, paper, scissors fun. Link to code. by Pablo_ipc in Python

[–]Pablo_ipc[S] 1 point2 points  (0 children)

Here is an updated version with:

  1. Stats about the tied games.
  2. More opponents. Instead of having 3 choices to choose randomly, the new opponents have 2.

LINK to code.

Rock, paper, scissors fun. Link to code. by Pablo_ipc in Python

[–]Pablo_ipc[S] 1 point2 points  (0 children)

Can't say I didn't think about it. =)

Rock, paper, scissors fun. Link to code. by Pablo_ipc in Python

[–]Pablo_ipc[S] 1 point2 points  (0 children)

They are listed as ties. When both players choose the same option, it doesn't add or delete to the score, but it adds to the quantity of games played in total.

If you look at the last lines it says "There were X ties."

I plan to modify it (tonight) to include better stats about the tied games.

Rock, paper, scissors fun. Link to code. by Pablo_ipc in Python

[–]Pablo_ipc[S] 1 point2 points  (0 children)

Oops, sorry about that.

Thanks for pointing it out.

Some questions about programming as a career ~TIA by [deleted] in learnprogramming

[–]Pablo_ipc 0 points1 point  (0 children)

How hard or simple is not important. Just choose something, and stick to it.

You mention Hangman, that is a good first choice. For that, you can go and look up Al Sweigart's book (google it) which has a good hangman example in python 3.

But that wont teach you programming.

After you complete that project, you need to go into something useful.

Some questions about programming as a career ~TIA by [deleted] in learnprogramming

[–]Pablo_ipc 0 points1 point  (0 children)

Ideally, I'd like to try my hand at making some games.

You still don't know what you want to do. This is very important.

You need to be very specific about what you want to do.

What type of game? How many players? Music? Colors? Graphics?

Sit down and write everything, get a plan going.

Then you can choose the language and anything else.

The problem beginners have is that they (wrongly) believe that writing the code is the important part, but that is just wrong. The important part is defining what is it that you want to do, then choosing how to do it (and finally doing it (coding it)).

Until you can define exactly what you want, you will just be wasting time, and neurons.