Hacker News new | ask | show | jobs
by NAFV_P 4505 days ago
Not particularly smart I would say. Frameworks exist partially to make the process of creating programs easier and quicker.

Very persistent I would say. I have a lot of persistence, but I don't think that I have enough.

For now, put the train set away, and learn Ruby. With enough persistence, you could end up beating some professionals.

I looked up reversing strings in Ruby and ROR, no wonder you're bored. I had to write all this to get it done in C and it was quite entertaining:

  char *reverse(char *s) {
    char *a=s, *b=s+strlen(s)-1, c;
    while(a<b) {
      c=*a;
      *a=*b;
      *b=c;
      ++a;
      --b;
    }
    return s;
  }