ibneko: (Default)
I'm going to pick up Python (for Highbrow) and Ruby (for Warbook).

For python, I'm starting out by doing Project Euler.net: http://projecteuler.net/

That means for the next few days, you guys may be getting random notes from me regarding the strange things I encounter in the world of snakes and jewels.

Starting out with Python:
• print automagically adds a newline. Why?
(Also, slicing is kinda cool. I like the string_variable[4:9] notation..)
• Using commas to concat multiple things that aren't strings results in extra spaces. :/ Ick. Can turn it into a string by using str, or using printf style printing with %s, followed by %. Oh, perl, how you have spoiled me.
• The forced syntax based off of indenting and lack of semi-colon line-endings still bothers me. Suspect I'll get over it eventually... hopefully.
• Where's my +=...?
• And... I can't do i++ or i--? EHHH??!?!?

[edit #...6ish]
http://projecteuler.net/index.php?section=profile&profile=21827

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Page generated Jul. 5th, 2025 05:33 pm
Powered by Dreamwidth Studios
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2021