Click here to Skip to main content
13,703,000 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
Mike Mullikin27-Apr-17 7:35
professionalMike Mullikin27-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
memberMark_Wallace26-Apr-17 11:02 
GeneralRe: Programming as a way of thinking Pin
Munchies_Matt27-Apr-17 1:00
memberMunchies_Matt27-Apr-17 1:00 
GeneralRe: Programming as a way of thinking Pin
Mark_Wallace27-Apr-17 3:16
memberMark_Wallace27-Apr-17 3:16 
GeneralRe: Programming as a way of thinking Pin
Munchies_Matt27-Apr-17 3:18
memberMunchies_Matt27-Apr-17 3:18 
GeneralRe: Programming as a way of thinking Pin
Marc Clifton26-Apr-17 11:03
protectorMarc 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 Pin
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
memberMunchies_Matt27-Apr-17 0:52 
GeneralOn the other hand: Pin
W Balboos27-Apr-17 4:21
memberW Balboos27-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
mvpraddevus26-Apr-17 10:22 
GeneralRe: New human rights to protect against 'mind hacking' and brain data theft proposed Pin
Mark_Wallace26-Apr-17 11:04
memberMark_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
memberRon 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
memberMark_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
memberMark_Wallace26-Apr-17 11:08 
GeneralRe: Microsoft can go and **** itself! Pin
enhzflep26-Apr-17 16:24
memberenhzflep26-Apr-17 16:24 
GeneralRe: Microsoft recommends you don't install the Windows 10 Creators Update Pin
Richard Deeming27-Apr-17 2:03
mvpRichard Deeming27-Apr-17 2:03 
GeneralRe: Microsoft recommends you don't install the Windows 10 Creators Update Pin
Dan Neely27-Apr-17 2:52
memberDan 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.


Advertise | Privacy | Cookies | Terms of Service
Web04-2016 | 2.8.180920.1 | Last Updated 20 Sep 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid