[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Book questions

Quoting Petter Adsen (petter@synth.no):
> On Sun, 12 Apr 2015 09:35:25 -0700
> David Christensen <dpchrist@holgerdanske.com> wrote:
> > I'd advise learning one language well, where "well" includes security 
> > best practices.  Understand that learning any modern language takes a 
> > lot of time and effort.  So pick one that is good at solving the
> > kinds of problems that you are motivated to work on, because the
> > going will get tough and you'll have to find the tenacity to struggle
> > through.
> I can see the logic in that. The issue with that is that I need them
> for two separate things - I want to learn C to get a deeper
> understanding of how Linux works, and I was initially thinking about
> Python for sysadmin tasks that I can't or don't know how to do in shell
> scripts.

If your target is *understanding* linux, then I'd disagree with the
first paragraph.

Learning computer languages is like learning foreign ones: aged 15 I
could read Xenophon in Greek but writing sentences was a struggle.
To understand linux, you'll need to understand C, shells, several
scripting languages, and specialist tools (coccigrep's a new one to
me), but you don't have to be able to write in them.

OTOH to do sysadmin you need to be able to write basic shell programs
and in a scripting language. I say *basic* shell: if it requires bash
arrays or more than two lines of , say, awk, then I switch the whole
thing into python.

> Maybe Perl would be a better fit for the last, I was at some point
> thinking of learning _basic_ GUI programming, and a friend recommended
> Python for that. He is also the person I am most likely to go to for
> advice, so learning Python would be good, because that's what he knows.

Jolly good idea.


Reply to: