Skip to main content

Home/ Coders/ Group items tagged Functional programming

Rss Feed Group items tagged

anonymous

Functional Javascript - 0 views

  •  
    Functional is a library for functional programming in JavaScript. It defines the standard higher-order functions such as map, reduce (aka foldl), and select (aka filter). It also defines functions such as curry, rcurry, and partial for partial function application; and compose, guard, and until for function-level programming. And all these functions accept strings, such as 'x -> x+1', 'x+1', or '+1' as synonyms for the more verbose function(x) {return x+1}.
bhawna sharma

Inline function in C++: How to use Inline function in C - 0 views

  •  
    Learn about Inline function and how to use in C++ program. Inline function is a kind of function which help to improve execution speed of function or program.
Matteo Spreafico

Classical Inheritance in JavaScript - 0 views

  • function ZParenizor2(value) { var that = new Parenizor(value); that.toString = function () { if (this.getValue()) { return this.uber('toString'); } return "-0-" }; return that; }
    • Matteo Spreafico
       
      This constructors lies, wondeful!
  • Again, we augment Function. We make an instance of the parent class and use it as the new prototype. We also correct the constructor field, and we add the uber method to the prototype as well.
  • This adds a public method to the Function.prototype, so all functions get it by Class Augmentation. It takes a name and a function, and adds them to a function's prototype object.
  • ...3 more annotations...
  • To make the examples above work, I wrote four sugar methods. First, the method method, which adds an instance method to a class. Function.prototype.method = function (name, func) { this.prototype[name] = func; return this; };
  • JavaScript can be used like a classical language, but it also has a level of expressiveness which is quite unique. We have looked at Classical Inheritance, Swiss Inheritance, Parasitic Inheritance, Class Augmentation, and Object Augmentation. This large set of code reuse patterns comes from a language which is considered smaller and simpler than Java.
  • I have been writing JavaScript for 8 years now, and I have never once found need to use an uber function. The super idea is fairly important in the classical pattern, but it appears to be unnecessary in the prototypal and functional patterns. I now see my early attempts to support the classical model in JavaScript as a mistake.
David Corking

JavaScript as a Functional Language | Ajaxonomy | 2009 - 0 views

  • there is a little bit of hand-waving involved in calling JavaScript a functional language. JavaScript is not a side-effect free language, nor is it an expression-based language (i.e., it is not value-oriented, but rather variable-oriented). There is no tail call optimization in any of the current implementations, so recursion must be kept shallow. And the list goes on. Truth be told, JavaScript is really one of the first hybrid imperative-functional languages.
  • Higher-order functions allow us to do functional composition,
  • Since JavaScript does not have "overloaded" functions, this type of functionality is usually simulated using manipulation of the function's arguments. Currying comes in handy because it allows you to do this manipulation in a much cleaner and more modular way.
  • ...1 more annotation...
  • Closures have quite a few applications in real-world JavaScript: event binding, callbacks, sorting, mapping (in the classical Lisp sense), and many others. In more modern JavaScript programming, you can find them almost everywhere.
  •  
    This is a short tutorial approach to an old but little-noticed saw.
Joel Bennett

Functional Programming Fundamentals, Chapter 1 of 13 - Dr. Erik Meijer - C9 Lectures - ... - 0 views

  •  
    "We kick off C9 Lectures with a journey into the world of Functional Programming with functional language purist and high priest of the lambda calculus, Dr. Erik Meijer "
Joel Bennett

Microsoft F# Developer Center - 0 views

  •  
    F# is a functional programming language for the .NET Framework. It combines the succinct, expressive, and compositional style of functional programming with the runtime, libraries, interoperability, and object model of .NET. -- and it had a new CTP in September 2008
jackmcmahon4

Buy Square Accounts - 100% Safe Usa Uk Ca ... - 0 views

  •  
    Buy Square Accounts Introduction The new method of managing your finances is Square Accounts. You can view all of your finances in one location thanks to our personal financial tool. Give Square Accounts a try if you're seeking for a better method to manage your money. It might enable you to make financial gains and save money. Why You Should Buy Square Accounts ? There are various justifications for purchasing a Square account. First of all, it is a trustworthy and simple-to-use platform that may assist you in managing your company's money and accepting payments. Second, a variety of services and connections that Square offers, such its inventory management system, business data, and customer interaction tools, can help your company. Third, Square is a reputable company with a long history that offers top-notch customer service. Using Square can also help you avoid paying transaction fees and other fees associated with processing credit cards. Buy Square Accounts How does Square Accounts work? Small businesses can manage their money using Square Accounts, a cloud-based accounting program. With a focus on assisting businesses in tracking their income and expenses, the program is created to be straightforward and simple to use. A few of the functions that Square Accounts offers are invoicing, tracking sales and spending, and producing financial reports. Buy Square Accounts Due to Square Accounts' subscription-based model, companies must pay a monthly or yearly charge to access the program. Both a free and a premium version of the software are offered, with the paid version including more features and support. What are the benefits of using Square Accounts? You can utilize the profile you create for your company when you create a Square account to accept credit and debit card payments. With a Square account, it's simple to track and manage your funds as well as collect payments from clients. Utilizing Square Accounts for your company has a number of advan
  •  
    Buy Square Accounts Introduction The new method of managing your finances is Square Accounts. You can view all of your finances in one location thanks to our personal financial tool. Give Square Accounts a try if you're seeking for a better method to manage your money. It might enable you to make financial gains and save money. Why You Should Buy Square Accounts ? There are various justifications for purchasing a Square account. First of all, it is a trustworthy and simple-to-use platform that may assist you in managing your company's money and accepting payments. Second, a variety of services and connections that Square offers, such its inventory management system, business data, and customer interaction tools, can help your company. Third, Square is a reputable company with a long history that offers top-notch customer service. Using Square can also help you avoid paying transaction fees and other fees associated with processing credit cards. Buy Square Accounts How does Square Accounts work? Small businesses can manage their money using Square Accounts, a cloud-based accounting program. With a focus on assisting businesses in tracking their income and expenses, the program is created to be straightforward and simple to use. A few of the functions that Square Accounts offers are invoicing, tracking sales and spending, and producing financial reports. Buy Square Accounts Due to Square Accounts' subscription-based model, companies must pay a monthly or yearly charge to access the program. Both a free and a premium version of the software are offered, with the paid version including more features and support. What are the benefits of using Square Accounts? You can utilize the profile you create for your company when you create a Square account to accept credit and debit card payments. With a Square account, it's simple to track and manage your funds as well as collect payments from clients. Utilizing Square Accounts for your company has a number of advan
htmlslicemate.com

From Zero to Hello World in Scala - 0 views

  •  
    Scala is one of the most attractive programming languages out right now. There is a lot of hype around it and programmers world-wide are publicly recognizing it as the possible next big thing in programming. Here's why. Scala is all about functional programming in an object oriented context. It tries to take the best of both worlds and combine them into a highly efficient, intelligent, and relatively easy to understand language. Right now it is the leader in today's renaissance of functional programming languages.
Fabien Cadet

Design Patterns: 15 Years After the Revolution, by Danny Kalev @ InformIT [2009-10-30] - 1 views

  • by defining a description template that included among the rest: Known uses. Sample code (as opposed to a typical algorithm which were often described in plain English and perhaps a few sketchy lines of pseudo-code). Collaboration (A description of how classes and objects used in the pattern interact with each other). Consequences (results and side-effects). Related patterns.
  • Would a 2009 catalog of the 23 classic design patterns look much different? According to the authors of Design Patterns: Elements of Reusable Code, the answer is no.
  • The authors would reclassify certain patterns and omit a few of the original patterns but the design and implementation would remain pretty much the same: "We have found that the object-oriented design principles and most of the patterns haven't changed since then" says Erich Gamma. You can't escape the feeling that patterns are frozen in time
  • ...2 more annotations...
  • In the meantime, in the C++ world the tide has turned towards a completely different paradigm known as generic programming (and to some extent, functional programming). Instead of plain classes and a complex inheritance chain, C++ these days uses templates, meta-programming and static type checking. The C++ Standard Library is the most prominent showpiece of the generic and functional programming idioms.
  • Over-engineering is another source of criticism. Programmers who become acquainted with patterns are often tempted to solve every problem using a pattern, even when a much simpler solution would probably be a better choice.
anonymous

Underscore.js - 3 views

  •  
    Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux.
Joel Bennett

The Julia Language - 8 views

  •  
    Julia is a high-level, high-performance dynamic programming language for technical computing. It supports distributed parallel execution, numerical accuracy, and an extensive mathematical function library. It uses an LLVM-based JIT compiler to achieve near C performance that far outstrips Python/Matlab/R ...
Joel Bennett

Taco Bell Programming - 6 views

  • Taco Bell Programming is about developers knowing enough about Ops (and Unix in general) so that they don't overthink things, and arrive at simple, scalable solutions.
    • Joel Bennett
       
      There's something to be said for reusing the great (functional) tools and components that are already in your tool set. Simple and functional is a great combination, and the less code *you* have to write (for a given solution) the less code you'll have to maintain.
David Corking

Dr. Dobb's | Smartphone Operating Systems: A Developer's Perspective | March 30, 2009 - 0 views

  • The industry stewards have countered Apple's move with their own application stores, so there's a huge opportunity to write the "killer app" for one of several smartphone platforms.
  • 40 MB to less than 4 MB of free RAM
  • one-app-at-a-time requirement complicates any implementation of a copy-and-paste mechanism.
  • ...45 more annotations...
  • As a security sandbox, the iPhone OS permits only one third-party application to run at a time, and not in the background.
  • adding some useful Bluetooth profiles that supported stereo headsets, data synchronization, or the ability to implement multiplayer games would be usefu
  • iPhone OS 3, that provides some of the missing features mentioned here, such as the A2DP profile for Bluetooth, voice recording, and copy-and-paste.
  • Have to learn Objective-C; is only smartphone platform that uses it.
  • Competitors will soon catch up on the UI.
  • embed navigation and GPS plotting into applications.
  • provide their own map content
  • The OS now supports the use of accessories connected to the iPhone either through its 30-pin docking connector or wirelessly via Bluetooth. Now that the device has been "opened", you can expect an entire ecosystem to build up around the device, much like the iPod has.
  • peer-to-peer connectivity using Bonjour
  • developers can now allow users, from within the application, to purchase and obtain new content
  • No voice dial.
  • A client-server mechanism provides access to low-level system resources, and in fact the kernel itself is a server that parcels out resources to those applications that need them. This transaction scheme allows applications to exchange data without requiring direct access to the OS space.
  • C/C++ for porting existing UNIX applications, and Java to port Java ME MIDlets. As mentioned previously, the software stack offers several run-times that offer application development using WRT widgets, Flash, and Python. The primary programming language for the platform is Symbian C++,
  • Handango has managed the wide-scale distribution of Nokia applications. In February, Nokia announced plans to launch its Ovi Store, which sells applications, videos, games, pod-casts and other content, similar to Apple's App Store. The store will be accessible by Nokia S60 smartphones in May.
  • Non-standard Symbian C++ has steep learning curve, with special idioms to master. Large number of Symbian APIs to learn, since it contains hundreds of classes and thousands of member functions.
  • BlackBerry Device Software executes multiple applications simultaneously
  • Manages multiple e-mail Exchange e-mail accounts, along with support for POP3 and SMTP, and e-mails can have file attachments
  • FIPS 140-2 compliant, and supports AES or Triple DES encryption sessions via BlackBerry Enterprise Servers
  • BlackBerry Device Software has enhanced the capabilities of the platform with its own Java virtual machine (JVM), along with new Java classes that offer multitasking capabilities and UI enhancements to go beyond the capabilities of Java ME.
  • You can also take existing Java ME code and add specific BlackBerry classes to make a hybrid Java ME application
  • don't intermix MIDP 2.0 and BlackBerry API calls that perform either screen drawing or application management.
  • The catch to writing an application that uses BlackBerry API extensions is that it ties the application this smartphone. However, this is no worse than using the unique Java classes found in Google's Android.
  • Apple promotes the design goal that applications should accomplish one purpose.
  • no Flash support, and you can't download files.
  • For non-Exchange users, Apple's MobileMe online service, after some fits and starts in 2008, now supports the push of e-mails and changes to the calendar and contacts.
  • The iPhone 3G can work in tandem with Microsoft Exhange Server 2003 and 2007 to support enterprise operations.
  • Cocoa Touch is a subset of Apple's Cocoa,
  • Cocoa Touch components manage most of the writing to the screen and playing media, yet there are APIs exposed that let you access the accelerometer and camera.
  • Quartz engine is identical to the one found in Mac OS X
  • Only a select few higher-level frameworks have access to the kernel and drivers. If necessary, an application can indirectly access some of these services through C-based interfaces provided in a LibSystem library.
  • the SDK provides Dashcode, which is a framework based on a Web page composed of HTML and Javascript. You can use DashCode's simulator to write and test your web application. You can also use several other third-party frameworks to write web applications, and debug these with Aptanna Studio's tools.
  • Made by HTC, the G1 is the first smartphone using the Android platform.
  • e-mail program (which makes use of Google's Gmail), a mapping program (using the company's Google Maps), and a browser that uses WebKit, not Google's Chrome web browser
  • Android is not Java ME, nor does it support such applications
  • ability to both browse and manage multiple IM conversations. On the other hand, such heavy use of the smartphone's CPU shortens battery life significantly. Maybe Apple is on to something in limiting the number of applications that the platform can run.
  • On the positive side, the Android APIs support a touch interface (and the G1 has a capacitive touch screen), but not any multi-touch gestures.
  • copying text from the web pages is the browser isn't allowed
  • The advantage to Android's use of a different bytecode interpreter is that the DVM was designed so that multiple instances of it can run, each in their own protected memory space, and each executing an application. While this approach offers stability and a robust environment for running multiple applications, it does so at the expense of compatibility with Java ME applications.
  • Seasoned Java programmers will find the Android SDK an amalgam of Java SE and Java ME methods and classes, along with unique new ones
  • compile the Java code to generate Dalvik bytecode files, with an extension of .dex. These files, along with the manifest, graphics files, and XML files, are packaged into an .apk file that is similar to a Java JAR file.
  • The certificate that you use to generate the private key does not require a signing authority, and you can use self-signed certificates for this purpose.
  • The Developer Phone provides access to a shipping Android device without the cash outlay or contract contortions required when developing for the other platforms.
  • in February the site began supporting priced applications. Google allows developers to take seventy percent of the proceeds.
  • it's possible that you might pick up a malicious application before it is detected by the user community.
  • Open source, open platform: if you hate the mail program, some third-party is writing a better one.
  •  
    Lengthy developer's overview of Symbian, Mac OS X iPhone, Blackberry, Android. This talks about the leading app platforms except Java ME and Windows Mobile, though it does explain how Blackberry and Symbian support Java ME.
Eitworld :education at one click

Graphics in C - 0 views

Graphics programming in C is very simple and interesting. It is mainly used to develop games, create projects and for putting the animation.We can also draw so many beautiful object by using graphi...

programming

started by Eitworld :education at one click on 30 Jul 14 no follow-up yet
sofarso Shawn

pure-lang - Google Code - 0 views

  •  
    Pure is a modern-style functional programming language based on term rewriting... Who pays for software anyways now?
David Corking

Functional Programming Has Warped Me - Blaine Buxton - 0 views

  •  
    This is pretty :)
Joel Bennett

ooc - 1 views

  •  
    "ooc is a modern, object-oriented, functional-ish, high-level, low-level, sexy programming language. it's translated to pure C with a source-to-source compiler. it strives to be powerful, modular, extensible, portable, yet simple and fast. "
consultgeek

Database administrator-CRM Professional Services-Sharepoint Administrator - 0 views

  •  
    Consult Geek's Various Consulting Services In the present business environment, it is essential to understand consumer behavior as it gives shape to the market trends. Customer care has always been given importance in commercial activity, and the new models of Customer relationship management also known as CRM are needed for the organization for adopting a customer-focused structure, that can maximize the potential value of customer's expectations of that particular company and obtain the opportunity of making a business strategy. The basic steps in the marketing process is to understand the marketplace, designing marketing strategy and marketing program, which leads to building a profitable customer relationship. There are also SharePoint solutions and consultants who establish a relationship by using the concept of modern marketing reforms and building and maintaining profitable customer relationship by offering superior customer value and satisfaction and growing customer needs.
  •  
    Hire the best CRM Management, Database Administrator, and ERP Consultant The way the business world is growing there is number of reasons to opt for various management systems likes CRM Professional Services. Issues such as high customer churn, unreliable reporting, and inefficient processes are few examples. CRM Management which is professionally implemented dispatch multiple benefits for business strategies like sales, services, marketing and other functions.
Mandeep Bajar

A Developer's Dilemma: When to use Custom Code - 0 views

  •  
    Custom Code is the code that a developer writes and runs on the cloud. This Custom Code can be accessed by his App using a REST API. It helps them to execute their business logic on the cloud or to send updates that enhances the functionality of their App.
1 - 20 of 34 Next ›
Showing 20 items per page