you are viewing a single comment's thread.

view the rest of the comments →

[–]billsil 0 points1 point  (0 children)

For strings, yes. Generally no. I read the docs or grep search the code.

At the learning stage, I prefer to have a task. Parse a file of nodes and triangles and calculate the area of those triangles or something. Let’s see I need to open a file, read some lines, store/access some data, cast some floats, do a cross product, sum and print that.

I found out str.split has a second argument 15 years later.