I am working on new programming language, but I was always puzzled by the fact that everyone is using yaxx/lex to parse the code, but I am not.
My compiler (which is already working) is handcoded in C++/STL, and I cannot say it's complex or took too much time. It has both some kind of lexer and parser, but they are not autogenerated.
E...
I've been reading through Code Complete, and I just got to the part about Design Patterns. I thought I'd see what questions were popular and tagged design-patterns. I was reading this question, and I agree with what seems to be the consensus there, that Design Patterns exist to address the limits of a paradigm (Functional, Object-Oriente...
foreach ($data['tests'] as $testname => $tests) {
echo "<h1>Extraction $testname Tests</h1>\n";
$function = $testfunctions[$testname];
echo "<ul>";
foreach ($tests as $test) {
echo "<li>" . $test['description'] . ' ... ';
$extracted = $extractor->$function($test['text']);
if ($test['expected'] == $extracted) {
echo "...
Hello community,
First I wanted to say that jstree is a great and powerful utility.
My first problem is that I have created a multilingual tree with a json and I don't quite know how to set links there, so when the user clicks on a node (for parents and children) he can get to a page like www.yahoo.com or any link I set as an attribut...
I know in Ruby can add and modify method of class dynamically in run time. what about other language? what is C# ,can in this language modify or add some method and ... in run time and dynamically?
...
I want to copy a float buffer into a char (byte) buffer without allocating memory for two separate buffers. In another words I want to use one buffer and copy in place.
The Problem is that if I need a float buffer then in order to copy that to a char then I will need a char* pointer; If I were copying from float* to float* it would be ...
I have a rough idea about what this is but if someone has an explanation of the 'expression problem' that they think is succinct and intuitive I would love to hear it.
...
I want to write a function that unpacks a char* buffer to a float* buffer.
The char* buffer was originally packed as floats to bytes.
What is the best way to do this?
I have implemented integers below.
I have packed an array of 4 byte sized integers in a char* buffer.
This is the function I used to unpack it and assign it to int*.
voi...
Possible Duplicate:
What does Oracle's lawsuit against Google mean to Android developers?
Is the future of Java doomed in light ofthe current Google Oracle lawsuit?
What are the possible consequences the Oracle/Google lawsuit will have for the future of the Java programming language?
...
I am curious whether other developers believe the quality of their programming language or their development tools is more important.
Please consider your answer with regard to both productivity and daily enjoyment of work.
...
I want to learn a new programming language and it would be fun to have a list of all web applications and what language they are written in.
Gmail: Java?
Youtube: Python only?
Facebook: PHP + erlang?
Google: C++?
Amazon
Ebay
Etc...
Is there a such comprehensive list somewhere?
...
A book recommendation or a website would be fine. Also, how proficient must I be with Java to use JSF effectively?
Here are some notes about my background and what I need to do with JSF:
I'm a web designer; I don't really consider myself a developer.
I have a rudimentary understanding of Java and only a small amount of Java programmin...
how to understander this:
"Representation Is the Essence of Programming "
from The Mythical Man-Month
what do your think
the Essence of Programming?
...
If you were hiring a programmer, or evaluating potential team members for your software project, would you expect them to know any programming languages besides the one required for the project? If so how many programming languages, how different from the one chosen for the project at hand, how well, and why?
...
I'm a 2nd year computer engineering student in Ethiopia, Africa. We have taken C and C++ and i've taught my self HTML, CSS, PHP(cakePHP framework too) and little javascript, JQUERY and mySQL to develop small systems just like blog. But I want to build large systems that are secure and robust. I am very humbled to see very smart and exper...
Thanks to this website http://unthought.net/c++/c_vs_c++.html and the fact that I build constructor like functions in C, I decided to learn to C++. Besides object-orientated features and templates, what other benefits are there to using C++? Code examples would be great, especially anything creative.
...
Yes, I know these kinds of questions have been asked a million times, but it just seems no matter how much research I do, there are great arguments for every side you can think of. I know the standard/best practice would be to just 'try them all, and see which one you like', but I really would rather have a better idea before I dedicate ...
Is there any resource for list of most popular (web/desktop/...)programs and their programming languages?
...
i was thinking learn a more low level language like C, but before it i'd like some opnion about:
what's the second language do you recommend to learn?
learn a low level language will make me a better programmer?
it's really necessary learn a second programming language?
...
Before anything, let me first clarify that the below thoughts are purely my personal opinions and due to my limited knowledge. I have no intention whatsoever to say that C++ is not cool.
I've been programming C++ for like a year and I think it really has some cool features. Nevertheless, I feel a bit empty and disappointed as I didn't ...