955 reputation
1620
bio website smith-li.com
location Philadelphia, PA
age 35
visits member for 3 years, 6 months
seen Sep 5 at 2:55

Pythonista; Celerista; Pyramista; Plonista; Magentoasta; Javascriptista; CSSista; HTMLista; Webista; Shellista; you get the gista.

I am an employee of eBay Inc. The opinions expressed here are my own and do not necessarily reflect the opinions of eBay Inc. This is my personal StackExchange account.

Classic disclaimer.


Jun
19
comment Meta-programming
So anyone who builds a Python interpreter in C is metaprogramming? What about the implementation of an ORM that maps an object oriented language to SQL? Is every web framework an example of metaprogramming?
Jun
19
comment Is java a good start to learn OOP?
A good teacher can teach you object orientation without limiting it to a single language. (For that matter, the principles can be taught without programming at all.) When you use a specific language, whether it's Java, Python, or what-have-you, it's easy to muddy the waters with language-specific nuance. For example, in Java we might be talking about the class or the object, but not all object-oriented languages are class-based (Javascript for one). The take-away? Don't expect to understand OOP from one language after a single course.
Jun
1
comment What should I do to leave a job professionally?
Don't forget to use up your vacation/personal days or ask if they can be bought out. Don't want to lose those!
Apr
5
comment How can you explain “beautiful code” to a non-programmer?
Can you explain beautiful code to a programmer without showing the code? The description is itself an art.
Mar
28
comment Are there real world applications where the use of prefix versus postfix operators matters?
@Pete — I'm not convinced. I pointed out that there are plenty of languages that don't have pre- and postfix operators. I understand the importance of understanding which of pre- and post- you're using, but I still think it's straightforward for the average programmer to switch between the two. As for readability and maintainability, if Python lacking pre and post doesn't convince you we're likely to get mired in differences of opinion.
Mar
27
comment How do you keep your basic skills from atrophy?
Now that I've done some of the code kata I can comment more. I have some experience with martial arts, so I think the idea of katas is a really good one, but (at least the early) katas proposed by Dave Thomas are more like lifting weights than a traditional martial arts kata. They are hard work, but neither repetitive nor meditational enough to be the same kind of drill as a true kata at all. That said, I think you can base some good kata on his proposals.
Mar
25
comment Refactoring: Isn't it just a fancy word for clean up your code?
I have to agree with Newtopian, particularly about not having to re-run tests. In fact, there should be an automated test suite that runs no less often than once per commit. Regardless of whether it's cleanup or refactoring, if you have a code change to commit to version control, the tests should run.
Mar
5
comment What do you do when you encounter an idiotic interview question?
…following that, go onto meta.programmers.SE to vent that your programmers.SE rant was closed.
Mar
2
comment How do you keep your basic skills from atrophy?
Awesome. Qigong exercises for programmers. I love it!