On any given day, I poop you not, I'm writing either c#, java, c++ or any number of scrpting languages (perl, bash, python, JavaScript).
Do people seriously only use a single language these days!?
41–50 of 79 posts
On any given day, I poop you not, I'm writing either c#, java, c++ or any number of scrpting languages (perl, bash, python, JavaScript).
Do people seriously only use a single language these days!?
What is a "C++ programmer?" On any given day, I poop you not, I'm writing either c#, java, c++ or any number of scrpting languages (perl, bash, python, JavaScript). Do people seriously only use a single language these days!?
Earlier quoted context omitted.
No, no, no there is no "call by object." It is precisely this mistaken idea which muddies the waters, as you put it. Virtually all modern processors are stack-based architectures. All arguments to functions are passed on the stack or in registers. The only thing that can be placed onto the stack or into a register are numbers. Those numbers can represent either an actual value or an address in memory. The former is c…
In Java, this code will print the string representation of Lassie: Dog toby = new Dog("Toby"); public static void replaceDogWithToby ( Dog d ) { d = toby; } public static void main ( String[] args ) { Dog d = new Dog("Lassie"); replaceDogWithToby(d); System.out.println(d); } In Pascal, this will print Toby: var toby:tDog; procedure replaceDogWithToby ( var d:tDog ); begin d := toby; end; var lassie:tDog; begin {code…
What is a "C++ programmer?" On any given day, I poop you not, I'm writing either c#, java, c++ or any number of scrpting languages (perl, bash, python, JavaScript). Do people seriously only use a single language these days!?
Why do you jump between multiple languages all the time?
Their primary code base is written in Java, monitoring scripts in Python/Ruby, and tracking pixel code in JavaScript, so I would have days in which I coded in all 3, albeit for separate use-cases.
Earlier quoted context omitted.
There's a lot of people passionate about it because it's the first low-level language that's reasonably approachable to people who mostly code in Python/Ruby/etc - you rarely ever have to pull out a debugger, for example.
Haha, oh you definitely have to pull out the debugger. Rust doesn't save you from logic errors, control flow issues and ffi gone wrong. That said I get your point about using the debugger less .
Earlier quoted context omitted.
In what way are they different?
In a classic call-by-reference, changes you make to the passed parameter are seen by the caller when the function returns. That doesn't happen consistently with Python.
Earlier quoted context omitted.
Of course, because that is the only way to implement call by reference, i.e. to pass the reference as a value.
It's possible to pass a reference by reference.
It's happening enough that there has been a series of popular conferences for it, PyHPC http://www.dlr.de/sc/desktopdefault.aspx/tabid-11992/21071_r...
What is a "C++ programmer?" On any given day, I poop you not, I'm writing either c#, java, c++ or any number of scrpting languages (perl, bash, python, JavaScript). Do people seriously only use a single language these days!?
- Apple's Swift codebase is 54.8% c++ [0]
- Microsoft's CNTK codebase is 57.6% c++ [1]
- Bitcoin's codebase is 68.6% c++[2]
- XBMC's codebase is 84.7% c++[3]
If you work on certain or specific types of projects, like ones making the tools that others use do their projects, then you are typically working more in only 1-2 languages at a time.
[0] https://github.com/apple/swift
[1] https://github.com/Microsoft/CNTK