Click here to Skip to main content
15,888,816 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: Python - The best first programming language Pin
Giuseppe Tollini19-Nov-13 6:09
Giuseppe Tollini19-Nov-13 6:09 
GeneralRe: Python - The best first programming language Pin
Bassam Abdul-Baki20-Nov-13 4:35
professionalBassam Abdul-Baki20-Nov-13 4:35 
GeneralRe: Python - The best first programming language PinPopular
Marc Clifton19-Nov-13 6:23
mvaMarc Clifton19-Nov-13 6:23 
GeneralRe: Python - The best first programming language Pin
Kornfeld Eliyahu Peter19-Nov-13 6:36
professionalKornfeld Eliyahu Peter19-Nov-13 6:36 
GeneralRe: Python - The best first programming language Pin
mikepwilson19-Nov-13 10:19
mikepwilson19-Nov-13 10:19 
GeneralRe: Python - The best first programming language Pin
Silvabolt19-Nov-13 10:14
Silvabolt19-Nov-13 10:14 
GeneralRe: (Monty) Python - The best first programming language Pin
Rob Grainger20-Nov-13 2:41
Rob Grainger20-Nov-13 2:41 
GeneralRe: (Monty) Python - The best first programming language Pin
_Maxxx_20-Nov-13 13:11
professional_Maxxx_20-Nov-13 13:11 
Both linq samples also fail SilverBolt's "
Quote:
How does a new programmer know what type this returns?


Other than that I would disagree they they are significant;y more readable

Quote:
evens = [x for x in numbers if x % 2 == 0]


vs
Quote:
var evens = numbers.Where(n => n % 2 == 0);


I think I would find the former more obvious if I was a complete newbie.

vs
Quote:
var evens = from n in numbers
where n % 2 == 0
select n;


Which I would find more obvious - but then I don't know Python so don't know if you could write it more legibly in that language,.

I'm not saying that Python would be a good 1st language to learn - I don't know it - but I don't think your linq examples show that C# would be any better
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011

.\\axxx
(That's an 'M')

GeneralRe: Python - The best first programming language Pin
Dan Neely20-Nov-13 3:01
Dan Neely20-Nov-13 3:01 
NewsA case for developers as artisans, not just artists Pin
Kent Sharkey19-Nov-13 5:10
staffKent Sharkey19-Nov-13 5:10 
GeneralRe: A case for developers as artisans, not just artists Pin
mikepwilson19-Nov-13 5:24
mikepwilson19-Nov-13 5:24 
GeneralRe: A case for developers as artisans, not just artists Pin
Dave Kreskowiak19-Nov-13 5:49
mveDave Kreskowiak19-Nov-13 5:49 
NewsNokia shareholders approve Microsoft deal Pin
Kent Sharkey19-Nov-13 5:08
staffKent Sharkey19-Nov-13 5:08 
GeneralRe: Nokia shareholders approve Microsoft deal Pin
Septimus Hedgehog20-Nov-13 0:37
Septimus Hedgehog20-Nov-13 0:37 
NewsUK Gets Google, Microsoft to Step Up Online Child Porn Fight Pin
Ravi Sant18-Nov-13 23:37
Ravi Sant18-Nov-13 23:37 
NewsGoogle agrees to pay states $17 million in browser privacy settlement Pin
Kent Sharkey18-Nov-13 10:48
staffKent Sharkey18-Nov-13 10:48 
GeneralRe: Google agrees to pay states $17 million in browser privacy settlement Pin
MacSpudster18-Nov-13 13:28
professionalMacSpudster18-Nov-13 13:28 
GeneralRe: Google agrees to pay states $17 million in browser privacy settlement Pin
Brisingr Aerowing18-Nov-13 14:42
professionalBrisingr Aerowing18-Nov-13 14:42 
GeneralRe: Google agrees to pay states $17 million in browser privacy settlement Pin
_Maxxx_18-Nov-13 15:42
professional_Maxxx_18-Nov-13 15:42 
News10 reasons the browser is becoming the universal OS Pin
Kent Sharkey18-Nov-13 10:46
staffKent Sharkey18-Nov-13 10:46 
GeneralRe: 10 reasons the browser is becoming the universal OS Pin
Rob Grainger20-Nov-13 3:00
Rob Grainger20-Nov-13 3:00 
NewsTop 20 mobile skills in demand Pin
Kent Sharkey18-Nov-13 10:19
staffKent Sharkey18-Nov-13 10:19 
GeneralRe: Top 20 mobile skills in demand Pin
Nemanja Trifunovic19-Nov-13 5:41
Nemanja Trifunovic19-Nov-13 5:41 
GeneralRe: Top 20 mobile skills in demand Pin
Kent Sharkey19-Nov-13 6:47
staffKent Sharkey19-Nov-13 6:47 
NewsAnnouncing the Visual C++ Compiler November 2013 CTP Pin
Kent Sharkey18-Nov-13 9:32
staffKent Sharkey18-Nov-13 9:32 

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.