Timeline for Declaring variables in Python and PHP
Current License: CC BY-SA 3.0
19 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 25, 2014 at 10:05 | audit | Close votes | |||
| Aug 25, 2014 at 15:40 | |||||
| Aug 17, 2014 at 7:35 | comment | added | tchrist | This is one of my number one gripes about Python; I can see no excuse for it. | |
| Jul 24, 2014 at 9:07 | history | edited | Alexander Gelbukh | CC BY-SA 3.0 |
removed the mention of JavaScript (that's scoping, not declaration); corrected an example
|
| Jul 24, 2014 at 2:40 | comment | added | Tulains Córdova | +1 for excellent question and for pointing out that this issue costs money because of faulty programs. | |
| Jul 24, 2014 at 2:36 | history | edited | Tulains Córdova | CC BY-SA 3.0 |
added 6 characters in body
|
| Jul 24, 2014 at 0:38 | history | edited | Alexander Gelbukh | CC BY-SA 3.0 |
minor correction
|
| Jul 23, 2014 at 16:13 | answer | added | Unknown Coder | timeline score: 2 | |
| Jul 23, 2014 at 15:37 | history | tweeted | twitter.com/#!/StackProgrammer/status/491970252709068800 | ||
| Jul 23, 2014 at 14:56 | vote | accept | Alexander Gelbukh | ||
| Jul 23, 2014 at 14:52 | answer | added | Cameron McKay | timeline score: 2 | |
| Jul 23, 2014 at 14:09 | comment | added | user40980 |
Note that my in perl is for scoping. Its only with use strict that it gains the flavor of declaration.
|
|
| Jul 23, 2014 at 13:56 | history | edited | Alexander Gelbukh | CC BY-SA 3.0 |
deleted 19 characters in body
|
| Jul 23, 2014 at 13:54 | comment | added | Alexander Gelbukh | @Doval: OK, will edit the question to remove the why question and leave only the how question. | |
| Jul 23, 2014 at 13:31 | comment | added | Doval | I agree that the answer contained there may not be satisfactory to you, but you should avoid asking two questions at once, and one of the two you asked is already addressed there. It would be better to take up your objections there than to fork off a new discussion on the same topic here. | |
| Jul 23, 2014 at 13:29 | comment | added | Alexander Gelbukh | @Doval: the main argument on that page is that the only thing that matters is how the code reads, and it reads OK without declarations. I totally disagree. I believe the main thing that matters is how the code executes (whether it has bugs), and absence of declarations has bitten me quite a number of times. | |
| Jul 23, 2014 at 13:17 | answer | added | Doval | timeline score: 0 | |
| Jul 23, 2014 at 13:15 | comment | added | Doval | The "why" has already been asked here. | |
| Jul 23, 2014 at 13:04 | review | First posts | |||
| Jul 23, 2014 at 14:37 | |||||
| Jul 23, 2014 at 13:03 | history | asked | Alexander Gelbukh | CC BY-SA 3.0 |