Никакие сокращения не допускаются.
Именование должно быть таким, что код легко понять и без коментариев.
| def safe[F[_] : Concurrent | |
| : Timer | |
| : Memoize | |
| : ContextShift, T](size: Int, | |
| name: String, | |
| factory: => F[T]) | |
| // vs | |
| def safe[F[_] : Concurrent |
| #!/usr/bin/env python2 | |
| # Shit code.. TODO: rewrite | |
| import sys | |
| import os | |
| import os.path | |
| import subprocess | |
| import itertools |
| /** | |
| * @param ${TYPE_HINT} $${PARAM_NAME} | |
| #if (${STATIC} != "static") | |
| * @return ${CLASS_NAME} This instance | |
| #end | |
| */ | |
| #set($TYPE_HINT = $TYPE_HINT.replaceAll("(int(eger)?)|(bool(ean)?)|(string)|object|mixed", "")) | |
| #if (${TYPE_HINT} != "") | |
| #set($TYPE_HINT="${TYPE_HINT} ") | |
| #end |
| # | |
| # Gentoo Linux | |
| # | |
| CONFIG_GENTOO_LINUX=y | |
| CONFIG_GENTOO_LINUX_UDEV=y | |
| # | |
| # Support for init systems, system and service managers | |
| # | |
| # CONFIG_GENTOO_LINUX_INIT_SCRIPT is not set |
| <?php | |
| /** | |
| * @example | |
| * $htmlRenderer = new HtmlRenderer(); | |
| * $consoleRenderer = new ConsoleRenderer(); | |
| * $htmlRenderer->renderToFile($view, 'some.html', [ TableRendererInterface::STREAMED ]); | |
| * echo $consoleRenderer->renderToString($profilingView); | |
| */ | |
| interface TableRendererInterface |
| (function (global) { | |
| 'use strict'; | |
| /** | |
| * @return {Function} Abstract function placeholder | |
| */ | |
| Function.prototype.makeAbstract = function () { | |
| return function () { | |
| throw new Error('Abstract method can\'t be called.'); | |
| }; | |
| }; |
| (function (window) { | |
| 'use stict'; | |
| /** | |
| * Replaces "{slug}" with specified values, provided by argument | |
| * @brief Set's slugs in string | |
| * @param {Object} slugValues Map "slugName:slugValue" | |
| * @returns {String} | |
| */ | |
| String.prototype.setSlugs = function (slugValues) { | |
| var |
| interface Interface {} | |
| class InterfaceImpl1 implements Interface {} | |
| class InterfaceImpl2 implements Interface {} | |
| class Main { | |
| private static List<Class<? extends Interface>> interfaceImplementations; | |
| static { | |
| interfaceImplementations = new ArrayList(Interface.class.getClasses()); // <- Doesn't work :( | |
| } |