Reputation
322
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 9
Newest
 Nice Answer
Impact
~8k people reached

  • 0 posts edited
  • 0 helpful flags
  • 10 votes cast
Sep
24
awarded  Nice Answer
Aug
7
awarded  Notable Question
Nov
7
awarded  Popular Question
Sep
11
awarded  Necromancer
May
6
comment Is converting/casting a boolean to int a good idea?
@JohnGaughan: You have exactly caught my thoughts on this subject. But in much better words than my question. DougM: To me it is okay to cast/box as long as you have an "is-a" relationship between types. And you can't really say that a boolean is a number. The semantics are very different. At best you can convert one to another. Not cast/box.
May
6
revised Is converting/casting a boolean to int a good idea?
This is not about Python. While I gave the example in Python, it's a question valid for pretty much every typed language out there.
May
6
comment Is converting/casting a boolean to int a good idea?
@BЈовић The question was not about Python. I just used it as an example. That aside, the argument for idiomatic code is very compelling.
May
6
revised Is converting/casting a boolean to int a good idea?
This is not about Python. While I gave the example in Python, it's a question valid for pretty much every typed language out there.
May
6
asked Is converting/casting a boolean to int a good idea?
Nov
11
awarded  Scholar
Nov
11
accepted How can I tell if I am overusing multi-threading?
Nov
9
awarded  Nice Question
Nov
9
awarded  Yearling
Nov
6
comment How can I tell if I am overusing multi-threading?
You are making interesting points. In my case, the conversion pipeline it is not about performance. It is about code simplicity/readability. The worker thread is about performance. Each final task runs on a remote machine, and submitting multiple jobs makes it run significantly faster.
Nov
6
comment How can I tell if I am overusing multi-threading?
@KChaloux ... the difference a visit to the loo can make to your thought-process... :)
Nov
6
awarded  Editor
Nov
6
comment How can I tell if I am overusing multi-threading?
@KChaloux I agree. I have edited it, and hope it captures my thoughts a bit better.
Nov
6
revised How can I tell if I am overusing multi-threading?
Complete re-write to make the question more concise.
Nov
6
asked How can I tell if I am overusing multi-threading?
Oct
22
awarded  Teacher