Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

I am trying to write a Python book

Once up­on a time, I tried to write a book. It did not end well. I was try­ing to dump a whole lot of knowl­edge at once. Knowl­edge I did not re­al­ly have, to be hon­est. When I look at that book I see a failed thing.

So, of course, many years lat­er, I am try­ing again, but with the lessons learned in my mind.

  • It will be a smal­l­­er book.

  • I am not al­­so writ­ing a whole tool chain for it.

  • It will be about things I know.

So, what is it?

The tem­po­rary ti­tle, right now, is some­thing like "Box­es: your sec­ond Python book". It says your sec­ond Python book be­cause you do need a work­ing knowl­edge of Python syn­tax as pro­vid­ed by the of­fi­cial Python Tu­to­ri­al, but not much else. When there is a par­tic­u­lar­ly hairy piece of code it may link to the tu­to­ri­al or the ref­er­ence or some­thing.

The "idea" of the book is to bridge a gap that ex­ists be­tween know­ing the ba­sics of read­ing and writ­ing a lan­guage (spe­cial­ly if it's your first!) and be­ing able to ef­fec­tive­ly us­ing it to cre­ate a use­ful projec­t.

It fol­lows the growth of "Box­es", a sim­plis­tic text lay­out en­gine, from a vague idea to a ful­ly work­ing, use­ful, test­ed, and pub­lished piece of soft­ware.

It's not there yet, but it's about 25% of the way there.

You can read it here: http­s://ralsi­na.git­lab.io/box­es-­book/ and the sources are at http­s://git­lab.­com/ralsi­na/box­es-­book

Com­ments much ap­pre­ci­at­ed!

On Silver Wings (Hayden War Cycle, #1)

Cover for On Silver Wings (Hayden War Cycle, #1)

Review:

Good pop­corn mil-s­ci­fi.

OTO­H, would it KILL writ­ers who cre­ate char­ac­ters from a spe­cif­ic cul­tur­al back­ground to spend 5 min­utes vet­ting their names with peo­ple from sim­i­lar back­ground­s?

The main char­ac­ter is called So­ril­la Ai­da. And she's sup­posed to be mex­i­can. That's about as like­ly as a char­ac­ter from South Car­oli­na called Skunky.


Contents © 2000-2024 Roberto Alsina