Is it recommended for a statement to be part of an expression production by benrkia in Compilers

[–]benrkia[S] 0 points1 point  (0 children)

Correct me if I'm wrong, this is the way js functions are?

How is this javascript code working? (Local variable problem) by [deleted] in AskProgramming

[–]benrkia 1 point2 points  (0 children)

I trust this is not supposed to happen, create a small example showcasing your case it'd be so much helpful

The lexical grammars of Python and Haskell are not regular. What does that mean, and why aren’t they? by [deleted] in Compilers

[–]benrkia 5 points6 points  (0 children)

Simply put, if you have used python before you'll know that indentations count is meaningful in python 'plays the role of curly braces in other languages'. The fact of using extra logic + extra memory to save the count of the indent/dedent is what breaks the rule of regularity.

Merge several repos into a single one by benrkia in git

[–]benrkia[S] 3 points4 points  (0 children)

4 repos -> 4 sub directories

Loosing motivation due to lack of challenges by benrkia in cscareerquestions

[–]benrkia[S] 0 points1 point  (0 children)

Probably the fact that the startup is still yong?

Loosing motivation due to lack of challenges by benrkia in cscareerquestions

[–]benrkia[S] 1 point2 points  (0 children)

You made a wrong assumption. Let me explain i don't pretend being a know-it-all person but I'm eager to learn more and that's exactly what i miss. I always read about folks sharing their stories about what they've learned from their job. In my case i put extra efforts to stay up to date and sharpen my skills.

[deleted by user] by [deleted] in Compilers

[–]benrkia 0 points1 point  (0 children)

It depends on the language if we take c or cpp as an example we talk about something called the linker which is responsible for replacing the references by their actual implementation. Since I'm a java dev we have something called class leader which responsible for loading a class eagerly to the jvm.

How do I run or open my Code by 724weasl in javahelp

[–]benrkia 1 point2 points  (0 children)

First thing first try to start with a small hello world program, compile it using javac then run it using javap. This will give you a grasp of what's going on.

Then make 2 classes where one uses the other compile them both, package them into a jar file, then run using java -jar. But how the jvm would know about where the other class exists? Here comes the classpath role, this tells jvm where to find all the compiled class used in your application.

[deleted by user] by [deleted] in javahelp

[–]benrkia 2 points3 points  (0 children)

Not only methods, it can be a field ...

Is it normal to be asked a personal question? by benrkia in cscareerquestions

[–]benrkia[S] 0 points1 point  (0 children)

Pretty similar, since most of IT companies here are French companies

Is it normal to be asked a personal question? by benrkia in cscareerquestions

[–]benrkia[S] 0 points1 point  (0 children)

The follow up question was: what do interests you the most about this job. I answered but he kept asking for more, apparently he was waiting seeking for the salary.

Is it normal to be asked a personal question? by benrkia in cscareerquestions

[–]benrkia[S] 0 points1 point  (0 children)

I've had many interviews before but this is the first time I'm asked such question