Click here to Skip to main content
15,881,577 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: FCC chairman plans to 'reverse the mistake' of net neutrality Pin
User 842027-Apr-17 7:35
User 842027-Apr-17 7:35 
GeneralRe: FCC chairman plans to 'reverse the mistake' of net neutrality Pin
Matt T Heffron28-Apr-17 6:57
professionalMatt T Heffron28-Apr-17 6:57 
NewsProgramming as a way of thinking Pin
Kent Sharkey26-Apr-17 10:08
staffKent Sharkey26-Apr-17 10:08 
GeneralRe: Programming as a way of thinking Pin
Mark_Wallace26-Apr-17 11:02
Mark_Wallace26-Apr-17 11:02 
GeneralRe: Programming as a way of thinking Pin
Munchies_Matt27-Apr-17 1:00
Munchies_Matt27-Apr-17 1:00 
GeneralRe: Programming as a way of thinking Pin
Mark_Wallace27-Apr-17 3:16
Mark_Wallace27-Apr-17 3:16 
GeneralRe: Programming as a way of thinking Pin
Munchies_Matt27-Apr-17 3:18
Munchies_Matt27-Apr-17 3:18 
GeneralRe: Programming as a way of thinking Pin
Marc Clifton26-Apr-17 11:03
mvaMarc Clifton26-Apr-17 11:03 
Kent Sharkey wrote:
expressive, readable, concise, precise, and executable.


IMO, not really.

The BFS example that the author cited is no more or less than the Python code -- if you know the meaning of the symbols, it's easy to understand. Just because those symbols are mostly expressed in English words doesn't make it more readable. queue.popleft is still meaningless to someone that doesn't know what a queue is, and frankly, I have to guess at what "popleft" means with regards to a queue, and I've been using Python for a while now (but am no expert at it.) As it is, I would expect a popright() as well for symmetry, but I much more prefer the word "dequeue," which is more obvious to me given my background with programming languages (and would be the term I would use if I was implementing a queue.) But that's me.

Marc
Latest Article - Merkle Trees

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802


modified 26-Apr-17 17:22pm.

GeneralRe: Programming as a way of thinking Pin
Matt T Heffron28-Apr-17 7:22
professionalMatt T Heffron28-Apr-17 7:22 
GeneralRe: Programming as a way of thinking PinPopular
Sander Rossel26-Apr-17 11:11
professionalSander Rossel26-Apr-17 11:11 
GeneralRe: Programming as a way of thinking Pin
Munchies_Matt27-Apr-17 0:52
Munchies_Matt27-Apr-17 0:52 
GeneralOn the other hand: Pin
W Balboos, GHB27-Apr-17 4:21
W Balboos, GHB27-Apr-17 4:21 
GeneralRe: Programming as a way of thinking Pin
Joe Woodbury27-Apr-17 7:51
professionalJoe Woodbury27-Apr-17 7:51 
NewsNew human rights to protect against 'mind hacking' and brain data theft proposed Pin
Kent Sharkey26-Apr-17 10:03
staffKent Sharkey26-Apr-17 10:03 
GeneralRe: New human rights to protect against 'mind hacking' and brain data theft proposed Pin
raddevus26-Apr-17 10:22
mvaraddevus26-Apr-17 10:22 
GeneralRe: New human rights to protect against 'mind hacking' and brain data theft proposed PinPopular
Mark_Wallace26-Apr-17 11:04
Mark_Wallace26-Apr-17 11:04 
GeneralRe: New human rights to protect against 'mind hacking' and brain data theft proposed Pin
Ron Anders26-Apr-17 14:04
Ron Anders26-Apr-17 14:04 
NewsHow your company needs to train workers in cybersecurity Pin
Kent Sharkey26-Apr-17 8:52
staffKent Sharkey26-Apr-17 8:52 
GeneralRe: How your company needs to train workers in cybersecurity Pin
Mark_Wallace26-Apr-17 11:07
Mark_Wallace26-Apr-17 11:07 
GeneralRe: How your company needs to train workers in cybersecurity Pin
Nelek26-Apr-17 19:58
protectorNelek26-Apr-17 19:58 
NewsMicrosoft recommends you don't install the Windows 10 Creators Update Pin
Kent Sharkey26-Apr-17 8:47
staffKent Sharkey26-Apr-17 8:47 
GeneralRe: Microsoft can go and **** itself! Pin
Mark_Wallace26-Apr-17 11:08
Mark_Wallace26-Apr-17 11:08 
GeneralRe: Microsoft can go and **** itself! Pin
enhzflep26-Apr-17 16:24
enhzflep26-Apr-17 16:24 
GeneralRe: Microsoft recommends you don't install the Windows 10 Creators Update Pin
Richard Deeming27-Apr-17 2:03
mveRichard Deeming27-Apr-17 2:03 
GeneralRe: Microsoft recommends you don't install the Windows 10 Creators Update Pin
Dan Neely27-Apr-17 2:52
Dan Neely27-Apr-17 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.