This website uses cookies on its adverts and sponsored links. By clicking the "Accept" button you are consenting to their use.

Read more

Accept


Mobile Tech Tracker
≡ sections
Home

Apps

Tech Blog

Tech Advice

Tech News

About

Welcome to Mobile Tech Tracker. Our mission is to help technically-minded people to become better versions of themselves and to help ordinary people to use modern smart technologies to their own advantage. If you want to support us, please consider visiting the pages of our advertisers.


F# is given a boost in the latest Visual Studio update

The majority of .NET developers write code in object-oriented languages, such as C# and VB.NET. However, object-oriented programming is not the only way of writing compiled .NET applications. F#, a functional programming language, provides an alternative way of doing so. With the latest release of Visual Studio, 15.7, the language has been given a huge upgrade in terms of functionality, libraries and tooling.

By opening the source of F# to the public, Microsoft has significantly speeded up the development of new language features and improvement of the old ones. This is why, when used in Visual Studio, the language has some cutting-edge features that aren't available in any other .NET language. For example, when you add a reference to a module or a function into your code and hover over it, the tooltip that appears enables you to navigate directly to the definition of the referred item.

Indeed, IntelliSense, the ability of the IDE to give you suggestions as you type the code, is much better implemented in the updated F# compared to any other .NET languages. One F# features that doesn't yet exist anywhere else in the Microsoft ecosystem is something that can be referred to as "IntelliSense for data". For example, IDE allows you to scan any arbitrary web page in real time as you type your code. The IDE will then present it in as a structure that is easy to navigate from within the code.

Just like the standard IntelliSense that all .NET developers are familiar with, you will receive suggestions that match the textual pattern that you type. However, while in C# and VB.NET you are limited to only accessing names of properties and methods of a given object, in F# you can access elements based on their actual textual value. One of the things that you can do is access a particular heading on the page based on the actual title that you see on the page. All of this information from the webpage can be accessed directly in your code before you have even executed any of it.

Another handy tool that comes with F# is the ability to run individual functions in interactive window while you are writing the code. This process significantly simplifies debugging, as you can test any of your functions before you even compile your program. The interactive window that comes with F# is much more powerful than Immediate Window that is available with other .NET languages. Unlike the former, the latter can only be used while you are actually running the code. Also, the window available in F# will retain the values of your interactively declared variables in memory, so you can play with your code as much as you want before you build any of it.

As any .NET language, F# can be compiled into an assembly, which can be referenced by and called from any other .NET assembly or executable compiled from any other .NET language. Likewise, most of standard .NET application types can be written in F#.



For more information, follow this link:

https://goo.gl/xf69PT


Published by

Posted on 12 May 2018


Comments (0)

Author's Name *

Email *

9 + 6 *

Comment

*


Tech News


Kubernetes gets fully integrated with Visual Studio

Kubernetes gets fully integrated with Visual Studio


Microsoft deploys an underwater data centre

Microsoft deploys an underwater data centre


Microsoft grants organisations an easy access to blockchain

Microsoft grants organisations an easy access to blockchain


Saving your mobile apps from the danger of rooted devices

Saving your mobile apps from the danger of rooted devices


Microsoft is focusing on artificial intelligence

Microsoft is focusing on artificial intelligence


Share this:

Facebook Google LinkedIn Twitter Become a Patron!


More from Tech News


Kubernetes gets fully integrated with Visual Studio [VIDEO]


Microsoft deploys an underwater data centre [VIDEO]


Microsoft grants organisations an easy access to blockchain [VIDEO]


Saving your mobile apps from the danger of rooted devices [VIDEO]


Microsoft is focusing on artificial intelligence [VIDEO]


"The S@!t Bank" is in a big trouble due to IT glitch [VIDEO]


Microsoft makes its own Linux and its own chip [VIDEO]


You can run .NET code directly in the browser [VIDEO]


Facebook has been involved in some shady practices again [VIDEO]


Microsoft will ban you for cussing in a Word document [VIDEO]

Privacy Policy

© Mobile Tech Tracker. All rights reserved. Unauthorised copying of any of this website's content is prohibited under international law.

For any queries, comments or suggestions, please write to info@mobiletechtracker.co.uk.