Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
2 8
Newest
 Commentator
Impact
~12k people reached

  • 0 posts edited
  • 0 helpful flags
  • 10 votes cast
May
19
comment Python: Are all dictionary comprehensions just more expressive and compact for loops?
@StevenBurnap I can with an enumerate right?
May
19
comment Python: Are all dictionary comprehensions just more expressive and compact for loops?
Can you elaborate on the last part?
May
19
awarded  Commentator
May
19
comment Python: Are all dictionary comprehensions just more expressive and compact for loops?
@Brandin Can I? No. Is it possible? I don't know.
May
19
comment Python: Are all dictionary comprehensions just more expressive and compact for loops?
@Ixrec It was not the question that I intended to ask, because I actually think that dictionary comprehensions are just for loops, but in the interest of asking an objective question, I have framed it as such.
May
19
comment Python: Are all dictionary comprehensions just more expressive and compact for loops?
@DocBrown I have added a question to see if we can get a consensus definition of "expressive".
May
19
awarded  Editor
May
19
revised Python: Are all dictionary comprehensions just more expressive and compact for loops?
edited title
May
19
comment Python: Are all dictionary comprehensions just more expressive and compact for loops?
@DocBrown How about relatively compact and expressive?
May
19
asked Python: Are all dictionary comprehensions just more expressive and compact for loops?
May
12
awarded  Nice Question
Oct
14
awarded  Notable Question
Aug
17
awarded  Notable Question
Apr
3
awarded  Popular Question
Sep
13
awarded  Popular Question
Oct
10
comment Functions returning pointers
Ok, since I am a noob, I don't know what exposing the pointer to a private class member outside the class does (I can make a guess, but this is before he has introduced the const keyword), but I will say that he does declare private data members explicitly, but this was an example to show that data members are private by default. It is an okay book, honest. ;D
Oct
10
comment Functions returning pointers
6.2 is exactly the followup question I had. Thanks!
Oct
10
asked Difference between a REPL and interactive shell
Oct
10
comment Functions returning pointers
I also omitted the call to the string library #include<string> since it wasn't necessary for the function I included in my query. That said, it /is/ a book about C++ on Windows.
Oct
9
awarded  Scholar