top of page
Search

Who said you were a programmer?

  • Writer: davidcarew19
    davidcarew19
  • Mar 7
  • 1 min read

I just spent more hours than I would like to confess writing a trivial Python program, as a sort of review of coding in python. I did an Octal integer to decimal conversion program with my own logic; emulating google AI's explanation of a manual technique for converting values.


Of course, python's int() function has an argument that effects the same conversion in only 2 lines of Python like this:

octal_str = "123"  decimal_num = int(octal_str, 8)


OTOH, I have become too facile at my normal review/learn process; tacking on another language using algorithms like making an ASCII chart programwhich I had done in Python years ago...


SO... what I mainly learned is what the weightlifter learns about weights--- 120 lbs. is always 120 lbs. worth of effort, and costs you the same work to get back in shape as it did before, except of course that as you get older, there is an increasing cost with advancing age.


The computer and the Python language never give you a break, either-- old minds are also not as supple in recovery as old bodies.


It does make me want to attack my next nonfiction book, before the hill gets too much higher, because by abilities are eroding, slowly but surely.

 
 
 

Recent Posts

See All
Try It Plain...

Mix one teaspoon of raw honey with fresh lemon juice in warm water each morning. Over time, this small habit may help maintain mental clarity as years add up. Per some (highly suspect) internet promot

 
 
 

Comments


  • Facebook
  • Twitter
  • LinkedIn

©2019 by DavidCarew. Proudly created with Wix.com

bottom of page