Profile

Cover photo
Steve Fenton
Works at Solidsoft Reply
Attended Open Study College
103 followers|48,951 views
AboutPostsPhotosVideos

Stream

Steve Fenton

Shared publicly  - 
 
My Octopus Deploy book is free all weekend on Amazon Kindle!

USA
http://www.amazon.com/gp/product/B00ZE75P40

UK
http://www.amazon.co.uk/gp/product/B00ZE75P40

(Available on all Amazon sites)
1
Add a comment...

Steve Fenton

Shared publicly  - 
 
This is a very strong book on Domain Driven Design - bringing things up to date with current techniques that are being applied to DDD.
1
Nick Zdunic's profile photo
 
Interesting.  I'll be checking this out hopefully soon.
Add a comment...

Steve Fenton
owner

Discussion  - 
 
I have posted some articles on the new Visual Studio Code editor (a cross-platform free editor). It has great TypeScript support!

https://www.stevefenton.co.uk/Content/TypeScript-Articles/
Articles on TypeScript programming including language features and tricks.
3
Add a comment...

Steve Fenton

Shared publicly  - 
 
You have to specify the order - the most common way to do that is to put all of the references in order in a file named _references.ts

If you do it that way, you only need to reference that one file and it is easy to reorder it in a single place.
 
Hello awesome people. :) Quick question : I'm using internal modules and have the compiled output in one file. Can the TS compiler take care of dependencies so that it can build the output file with the right order? Thoughts? 
6 comments on original post
1
Nick Tsitlakidis's profile photoSteve Fenton's profile photoNick Zdunic's profile photo
3 comments
 
Somewhat off tangent Steve, but what do you see as the future for Typescript with ES6 coming and Babel transpiling into this in the meantime?
Add a comment...

Steve Fenton

Shared publicly  - 
 
The Haxstrong charity is based in Taiwan and was formed by Gregg Haxton - He suffered a massive motorcycle accident and was so touched by peoples generosity here that he set up a charity to help others in need....
1
Add a comment...

Steve Fenton

Shared publicly  - 
 
My trip to Iasi in pictures - so much amazing architecture!
1
Add a comment...
Have him in circles
103 people
Michaela Gordon's profile photo
Piotr Wieczerzak's profile photo
Oleg Mihailik's profile photo
Jonas Eriksson's profile photo
Diego Dessimoni's profile photo
Jason Rumney's profile photo
Paul Turner's profile photo
Bethany Ayers's profile photo
ma.theresa rula's profile photo

Steve Fenton

Shared publicly  - 
 
The Humans Are Dead In Amazon Top 25. Articles on programming, methadology and psychology.
1
Add a comment...

Steve Fenton
owner

Discussion  - 
 
Don't make the mistake that many developers are making with TypeScript modules!
Stop Mixing TypeScript Internal And External Modules. Articles on programming, methadology and psychology.
1
karim beyrouti's profile photo
 
yep - but would be great if you had code examples for these :-) 
Add a comment...

Steve Fenton
owner

Discussion  - 
 
Stop using "namespaces" in external modules!!! - by Ryan Cavanaugh.
2
Oleg Mihailik's profile photo
 
To me the external modules feature of TypeScript doesn't make the slightest whiff of sense.

I've got a pile of code. I separate it in files for the reasons of sanity: one big file is too hard to navigate.

Now if I want to compile this library in a node.js module, what do I do?

Correct! I throw TypeScript's lame external module concept out of the window, and simply 'declare var exports' somewhere, assigning whatever necessary to it.

Why not TypeScript's native external modules? Because TS is dumb enough to suggest every source file is a separate module in the output. That's the craziest idea around. I don't want to manage dependencies within my library, between a wee little class A and a wee little class B. They are both my own classes, and I don't want TS to create 'boxes of pasta' protected from another 'boxes of paste'.

In summary, TS external modules are waste of resources. And I bet ES6 modules will flow down the same drain. People want to bundle, not split stuff into bricks to manage every grain separately.
Add a comment...

Steve Fenton

Shared publicly  - 
 
The Humans Are Dead: Essays on Software Test Automation.

On Kindle now: $0.99 || £0.99

http://www.amazon.co.uk/gp/product/B00WDKOAUQ
1
Add a comment...

Steve Fenton
owner

Discussion  - 
 
There is a proposal to rename internal modules "namespaces". You would then have modules (external modules - i.e. files) and namespaces.

Were internal/external modules confusing you? Does this change help?
1
Add a comment...
People
Have him in circles
103 people
Michaela Gordon's profile photo
Piotr Wieczerzak's profile photo
Oleg Mihailik's profile photo
Jonas Eriksson's profile photo
Diego Dessimoni's profile photo
Jason Rumney's profile photo
Paul Turner's profile photo
Bethany Ayers's profile photo
ma.theresa rula's profile photo
Education
  • Open Study College
    NCFE Level 3, Psychology, 2013 - 2013
    NCFE Level 3, Psychology (6 distinctions).
  • Bitterne Park Comprehensive School
    GCSE, 1990 - 1994
    11 GCSEs, inc English and Maths.
Links
Other profiles
Contributor to
Story
Tagline
nec temere nec timide
Introduction
I am a programmer, author and psychology enthusiast.
Bragging rights
Author of Pro TypeScript (Apress), TypeScript for C# Programmers (InfoQ), TypeScript for JavaScript Programmers (Indie).
Work
Occupation
Programmer
Employment
  • Solidsoft Reply
    Senior Web Developer, 2014 - present
  • Capita Clinical Solutions
    Senior Developer, 2012 - 2014
  • NewVoiceMedia
    Senior Developer, 2011 - 2012
  • Game
    Senior Developer, 2009 - 2011
  • Winterthur Life
    Developer, 2007 - 2009
  • Really Useful Domains
    Developer, 2006 - 2007
  • PPML
    Developer, 1999 - 2006
  • Skandia Life
    Administrator, 1995 - 1999
  • Chamber Of Commerce
    Administrator, 1995 - 1995
Basic Information
Gender
Male