Skip to main content

Home/ Coders/ Group items tagged languages

Rss Feed Group items tagged

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.
Matteo Spreafico

JavaScript: The World's Most Misunderstood Programming Language - 0 views

  • JavaScript, aka Mocha, aka LiveScript, aka JScript, aka ECMAScript, is one of the world's most popular programming languages
  • It was originally called LiveScript, but that name wasn't confusing enough.
  • You get lambdas without having to balance all those parens.
Fabien Cadet

Doctrine - PHP Object Relational Mapper - 2 views

  •  
    Doctrine is an object relational mapper (ORM) for PHP 5.2.3+ that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.
Joel Bennett

Apache Thrift - 2 views

  •  
    Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.
anonymous

All-In-One Code Framework - 7 views

  •  
    Microsoft All-In-One Code Framework delineates the framework and skeleton of Microsoft development techniques through typical sample codes in three popular programming languages (Visual C#, VB.NET, Visual C++). Each sample is elaborately selected, composed, and documented to demonstrate one frequently-asked, tested or used coding scenario based on our support experience in MSDN newsgroups and forums.
Fabien Cadet

Your Architecture Sucks and I Don't Care, by Ryan, 2011-01-03 | Friendly Dingo Blog - 10 views

  •  
    "Besides, who am I to say your architecture sucks? And why don't I care? Because I am your users, and I don't care what your codebase looks like, I don't care what it's called, and I don't care what language it's written in. I care that it solves my problem in the simplest and fastest way possible."
Joel Bennett

What's New in DekiScript for MindTouch Core/2009 "Lyons" (9.02) - MindTouch Community P... - 0 views

  •  
    Among the many new features in MindTouch Deki "Lyons" are also some important improvements to DekiScript, the built-in end-user scripting language for creating dynamic content, mashups, and collaborative applications...
  •  
    DekiScript is really very, very good.
Fabien Cadet

PHPExcel - www.phpexcel.net - 3 views

shared by Fabien Cadet on 27 Oct 09 - Cached
  •  
    Project providing a set of classes for the PHP programming language, which allow you to write to and read from different file formats, like Excel 2007, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.
Fabien Cadet

prog21: Tales of a Former Disassembly Addict - 1 views

  • In fact, generated code can be so ridiculous and verbose that I finally came up with an across-the-board solution which works for all compilers on all systems: I don't look at the disassembled output.
  • I still see people obsessed with picking a programming language that's at the top of the benchmarks, and they obsess over the timing results the way I used to obsess over disassembled listings. It's a dodge, a distraction...and it's irrelevant.
yc c

Web development and deployment tools: CodeRun - 2 views

  •  
    Build-time error reporting, refactoring and code completion in Visual Studio Extended JavaScript syntax power with C# language features Pure client-side control library coded in C#
Andrey Karpov

Lessons on development of 64-bit C/C++ applications - 0 views

  •  
    The course is devoted to creation of 64-bit applications in C/C++ language and is intended for the Windows developers who use Visual Studio 2005/2008/2010 environment. Developers working with other 64-bit operating systems will learn much interesting as well. The course will consider all the steps of creating a new safe 64-bit application or migrating the existing 32-bit code to a 64-bit system. The course is composed of 28 lessons devoted to introduction to 64-bit systems, issues of building 64-bit applications, methods of searching errors specific to 64-bit code and code optimization. Such questions are also considered as estimate of the cost of moving to 64-bit systems and rationality of this move.
Joel Bennett

AffinityID/PowerUp - GitHub - 3 views

  •  
    PowerUp is a simple, language neutral, Powershell based build and deployment framework
Ravi Kumar

asp.net mvc, c#, programming language, google maps, software, technology - 0 views

  •  
    Free code, example and tutorials for software developers, software architects and team leads. Sharing experience with application software, geographic information systems,open source gis, web gis, google maps,technology articles, technology news, newest technology,emerging technology
amby kdp

Get The Best Python Programming Book For Beginners - 0 views

  •  
    A programmer can start from scratch and become a professional with the help of James P. Long's "Python Programming For Beginners" book. Those who want to get a good grip of what programming language is should get from this Python book.
Eitworld :education at one click

PHP Practical Book - 0 views

PHP is a server side scripting language basically known for its use in web development but also used as a general-purpose programming language. This book contains various minor projects which are h...

web

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

PHP - 0 views

PHP is a server side scripting language basically known for its use in web development..Increase your knowledge in PHP along with other web developing languages. PHP is very beneficial in increasin...

development

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

RMagick Download Page - 1 views

  •  
    RMagick is an interface between the Ruby programming language and the ImageMagick® and GraphicsMagick image processing libraries. RMagick can be more difficult to install than the typical Ruby extension. First you have to install ImageMagick or GraphicsMagick, and those libraries require a lot of other libraries. Nevertheless, the process can be made easier with a bit of planning. On this page I'll try to answer the most common questions about installing RMagick. Give it a quick scan before you start downloading files.
samreenbano143

Happy Propose day hd images 2016 free download - Happy Propose Day Images Pictures Wish... - 0 views

  •  
    Happy Propose day hd images 2016 free download- First of all our team wish you a very happy valentines day with Happy Propose day images. Love is speechless it is only a feeling and love knows only language of expressions. It comes on  the second day of the Valentine's week. Every year, this day is celebrated on …
wscubetech

CPP Questions and Test, OOPS Interview Question - 0 views

  •  
    WsCube Tech CPP quiz section helps you to build your technical skills in CPP programing language which based on oops concept
Chris Fung

30 Python Language Features and Tricks You May Not Know About - 1 views

  •  
    Since I started learning Python, I decided to maintain an often visited list of "tricks". Any time I saw a piece of code (in an example, on Stack Overflow, in open source software, etc. via Pocket
« First ‹ Previous 101 - 120 of 249 Next › Last »
Showing 20 items per page