• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Retraining as a C# dev?

In any turing-complete language, there are no reasons you 'need' lambda functions. Windows and Linux and Visual Studio were all written without them ;)

Windows & Linux are mostly written in C which doesn't "need" lambdas because it has function pointers.

They are difficult to understand in an OO context because they aren't a natural part of the paradigm, they are grafted on in order to try and make it appear that functions are first class objects in a world where every function is owned by an object.
 
Delegate - Get someone else to do it for you.

So you invoke the delegate and it invokes the function or functions if it's multicast.

The function is called when you call it. It's just an indirect method of specifying the function - i.e. just like a pointer to function or loading the function into a register in assembler. I've never heard the word "delegate" used in the context of assembler; it's just a pointer or an address. "Delegate" implies something else calls the function, i.e. on a different thread or scheduled at a different time.

There's lots of reason why you need and want lambdas.

c# - What's the point of a lambda expression? - Stack Overflow

For a start no lambdas no LINQ.

Maybe it's terminology fail again (I'm not up on the C# specifics, just the C++ specifics), but if a lambda is a way of specifying an inline function, then is there anything you can do with it that you can't do with a closure/bind/delegate/pointer to function or whatever we're calling it? I can't see the benefit of declaring it inline beyond saving typing, and to do that they've introduced a new syntax that's completely alien to the previous 40 odd years of C based languages.
 
Delegates are genuinely useful (although again they are only a time-saver to writing your own little class). Lambdas certainly come under a utility function category to me, but that doesn't mean I think they're pointless. They do allow you to write much more elegantly what you want to DO, a bit like how std::for_each seemed really cool but then you had to write all the stupid functor classes (until boost, etc came along).
 
Seemed to have inadvertently caused quite the delegate debate here...

Thanks for all your answers, seems like my predictions were correct, not going to become a half decent dev in 18 months.

Time to knuckle down for a further 2 years or more and with the hard work the rewards will finally come. Wish I'd done this 5 years ago! Oh well, hindsight... I'm only 31 so hopefully haven't left it too late.

Cheers all
 
Seemed to have inadvertently caused quite the delegate debate here...

Thanks for all your answers, seems like my predictions were correct, not going to become a half decent dev in 18 months.

Time to knuckle down for a further 2 years or more and with the hard work the rewards will finally come. Wish I'd done this 5 years ago! Oh well, hindsight... I'm only 31 so hopefully haven't left it too late.

Cheers all

Hi HG,

It is also worth thinking about what market sector you want to be a Developer in, as the skills needed in Investment Banking are vastly different then those in E-commerce or Digital Marketing and often RA will ask for candidates with relevant experience.
 
Hi HG,

It is also worth thinking about what market sector you want to be a Developer in, as the skills needed in Investment Banking are vastly different then those in E-commerce or Digital Marketing and often RA will ask for candidates with relevant experience.

Well I'm currently working and have a background in GIS (Mapping) so concentrating on mapping solutions/applications with C# WPF & SQL Server. Design in MVVM and learning the .NET libraries/WPF SDK supplied by ESRI who are the market leader in GIS software.

Obviously this is extremely specialised as I'm sure most of your skillsets are, there are contracting opportunities in the field and needless to say the rates are decent.

Cheers
 
Last edited: 14:52
Well I'm currently working and have a background in GIS (Mapping) so concentrating on mapping solutions/applications with C# WPF & SQL Server. Design in MVVM and learning the .NET libraries/WPF SDK supplied by ESRI who are the market leader in GIS software.

Obviously this is extremely specialised as I'm sure most of your skillsets are, there are contracting opportunities in the field and needless to say the rates are decent.

Cheers

There is definitely very good opportunities within the oil and gas industries with GIS and software dev skills and money is very decent.
 
There is definitely very good opportunities within the oil and gas industries with GIS and software dev skills and money is very decent.

Yes cheers Jefferson.

I'm working as a junior dev in a firm who provide spatial data to the upstream Oil & Gas industry so must be headed in the right direction :smile

Shame there's no-one here to help me learn this ffing MVVM in WPF with Entity Framework though! :mad
 

Advertisers

Back
Top