ahh, that DaGhostman took me a while to understand... but yes, that's exactly what I do now, got rid of the "magic" and only used controller maps with very simple config files $controller_map = array( '/web/route' => '\whatever\my_controller_name', 'etc' => '\etc\ );
Building your own framework, or "re-inventing the wheel", is great to learn how it's done and why it's done. (and also, why you use ready made ones for production and not your own, in the future)
@DaGhostmanDimitrov By doing so .. you will simplify your code and surly get rid of useless string manipulation / regex's .. The only disadvantage is that everytime you want to add a new controller you need to modify the mapping file.. This shouldn't become an issue as adding a controller isn't something that should happen on the daily routine anyways, or you might be doing it wrong
You're routes, you know them in advance, and you just string match the route to the keys in your controller map
@DaveRandom stable. I only noticed the icon after following a link to a google search pasted by someone. I assume it's somehow encoded in the URL then. I dont have Mic connected atm, so I guess that's why it doesnt show when I open Google myself
@Gordon Whether you have one connected probably isn't relevant unless your soundcard disabled the mic device until it detects one, the APIs only see system devices. It's odd, just been testing it out on canary and stable, can't seem to provoke it into appearing
Unlambda is a minimal, "nearly pure" functional programming language invented by David Madore. It is based on combinatory logic, a version of the lambda calculus that omits the lambda operator. It relies mainly on two built-in functions (s and k) and an "apply" operator (written `, the backquote character). These alone make it Turing-complete, but there are also some I/O functions to make it possible to interact with the user, some shortcut functions and a function for lazy evaluation. There are no variables in the language.
Basic principles
As an esoteric programming language, Unlambda is...
spent years digging through the gang of fours DPs and reading every word of Martin Fowler as if he was a god, then fell onto the one mind changing experience: functional programming
http://langpop.corger.nl/
C++ (7.63%)
Lines changed on GitHub: 184,439,354
Tagged on StackOverflow: 185,582
Lines written per question: 993.8429050231165
PHP (14.74%)
Lines changed on GitHub: 583,315,415
Tagged on StackOverflow: 358,496
Lines written per question: 1627.11833604838
@DaGhostmanDimitrov Well why "write less do more" then? Usually "do more" requires "write more". If you don't that usually means you have abstracted everything away into an opaque black box, which is all well and good until something breaks.
by that I meant that I do not like some of the frameworks that have endless configuration and writing something that does the magic and cannot figure a way why something break ..
In fairness, those stats really don't show that we are smarter than C++, if anything it's the opposite, especially Lines written per question: 1627.11833604838 - if your question takes 1627 lines, it's probably a sh*t question
Gordon is a surname with numerous different origins. The masculine given name Gordon is derived from the surname.
Origin of the surname
The Scottish surname Gordon may be derived from several locations. One possibility is from Gordon, in Berwickshire. This placename is derived from the Welsh language elements gor, meaning "spacious"; and din, meaning "fort".
Gordon ( ) is also a Jewish surname, likely derived from the city of Grodno, in Belarus.
The Spanish, and Galician surname Gordón is derived from places like-named in the Spanish and Galician languages. The Basque language Gordon i...
Are there any success stories of using PHP extensions to enforce static type behavior (SPL-esque) or incorporate common constructs in other languages, such as real method overloading, operator overloading, etc.; or is it all just fluff and POCs?
@NikiC When you see the big picture, you'll notice that there is really hardly any significant difference in language popularity AT ALL, between PHP and C++ :)