Click here to Skip to main content
15,893,161 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: With all the talk about airport security... Pin
JimmyRopes4-Jul-14 4:30
professionalJimmyRopes4-Jul-14 4:30 
GeneralRe: With all the talk about airport security... Pin
Super Lloyd3-Jul-14 21:38
Super Lloyd3-Jul-14 21:38 
GeneralRe: With all the talk about airport security... Pin
Jörgen Andersson3-Jul-14 22:12
professionalJörgen Andersson3-Jul-14 22:12 
GeneralRe: With all the talk about airport security... Pin
OriginalGriff3-Jul-14 22:19
mveOriginalGriff3-Jul-14 22:19 
GeneralRe: With all the talk about airport security... Pin
CBadger3-Jul-14 23:59
professionalCBadger3-Jul-14 23:59 
GeneralRe: With all the talk about airport security... Pin
Keith Barrow4-Jul-14 1:45
professionalKeith Barrow4-Jul-14 1:45 
GeneralRe: With all the talk about airport security... Pin
Mike Hankey4-Jul-14 2:16
mveMike Hankey4-Jul-14 2:16 
GeneralThe wonders of TypeScript Pin
Super Lloyd3-Jul-14 20:40
Super Lloyd3-Jul-14 20:40 
I just wrote the following TypeScript statement
JavaScript
var questions = this.forms.forms.selectItem()
     .data.Groups().enumerable()
     .where(x => x.current.GroupType() === Server.GroupType.Normal)
     .selectMany(x => x.data.Questions())
     .distinct(x => x.current.ID())
     .array();

And I just thought to myself, "How lucky I use TypeScript instead of JavaScript"! Big Grin | :-D

I can only imagine how hard it will be to write such a statement correctly without good intellisense in JavaScript.
Not too mention how some zealous programmer might unknowingly break it by refactoring something somewhere (else)...


As a side note, I got a nice Enumerable class in my TS utilities now!
Wondering what to do... can't just drop it on CP (without explanation), nor do I feel like creating CodePLex project for it, what to do, what to do?!
My programming get away... The Blog...
DirectX for WinRT/C# since 2013!
Taking over the world since 1371!

GeneralRe: The wonders of TypeScript Pin
Suvabrata Roy3-Jul-14 21:27
professionalSuvabrata Roy3-Jul-14 21:27 
GeneralRe: The wonders of TypeScript Pin
Kornfeld Eliyahu Peter3-Jul-14 21:59
professionalKornfeld Eliyahu Peter3-Jul-14 21:59 
AnswerRe: The wonders of TypeScript Pin
Super Lloyd3-Jul-14 22:34
Super Lloyd3-Jul-14 22:34 
AnswerRe: The wonders of TypeScript Pin
Super Lloyd3-Jul-14 22:37
Super Lloyd3-Jul-14 22:37 
GeneralRe: The wonders of TypeScript Pin
Kornfeld Eliyahu Peter3-Jul-14 23:21
professionalKornfeld Eliyahu Peter3-Jul-14 23:21 
GeneralRe: The wonders of TypeScript Pin
Super Lloyd4-Jul-14 1:11
Super Lloyd4-Jul-14 1:11 
GeneralWhy so much hype for security in airports alone? Pin
Vasudevan Deepak Kumar3-Jul-14 19:58
Vasudevan Deepak Kumar3-Jul-14 19:58 
GeneralRe: Why so much hype for security in airports alone? Pin
Super Lloyd3-Jul-14 20:13
Super Lloyd3-Jul-14 20:13 
GeneralRe: Why so much hype for security in airports alone? Pin
Vasudevan Deepak Kumar3-Jul-14 20:22
Vasudevan Deepak Kumar3-Jul-14 20:22 
GeneralRe: Why so much hype for security in airports alone? Pin
Pete O'Hanlon3-Jul-14 20:20
mvePete O'Hanlon3-Jul-14 20:20 
GeneralRe: Why so much hype for security in airports alone? Pin
Vasudevan Deepak Kumar3-Jul-14 21:06
Vasudevan Deepak Kumar3-Jul-14 21:06 
GeneralRe: Why so much hype for security in airports alone? Pin
Pete O'Hanlon3-Jul-14 22:49
mvePete O'Hanlon3-Jul-14 22:49 
GeneralRe: Why so much hype for security in airports alone? Pin
DaveAuld3-Jul-14 20:29
professionalDaveAuld3-Jul-14 20:29 
GeneralRe: Why so much hype for security in airports alone? Pin
Jörgen Andersson3-Jul-14 20:32
professionalJörgen Andersson3-Jul-14 20:32 
GeneralRe: Why so much hype for security in airports alone? Pin
Shameel3-Jul-14 21:14
professionalShameel3-Jul-14 21:14 
GeneralRe: Why so much hype for security in airports alone? Pin
Thanks78723-Jul-14 21:21
professionalThanks78723-Jul-14 21:21 
GeneralRe: Why so much hype for security in airports alone? Pin
devenv.exe3-Jul-14 23:11
professionaldevenv.exe3-Jul-14 23:11 

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.