Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Software Engineering

Questions tagged [programming-languages]

Ask Question

Artificial languages for instructing computers to do steps of computation in order to complete tasks. They allow programmers to communicate with computers.

1,406 questions
Filter by
Sorted by
Tagged with
2votes
5answers
1kviews

This is basically a continuation of "Why don't languages auto import everything?" but with a slightly altered premisse:Say we have a language like C++ / python that uses namespaces to ...
12votes
7answers
5kviews

I'm quite confused about the concept of mutability (or mutation?), especially across different languages. In a language like Python:x = 10 x = 20I believe this is called shadowing (or rebinding) ...
35votes
11answers
13kviews

As developers, we often face the challenge of balancing meaningful variable names with code readability. Long, descriptive names can make code harder to read, while short names may lack context. For ...
0votes
3answers
371views

Having fewer lines of code per feature is typically better as it increases the developer productivity. Did anyone ever measure the number of code lines executions per line of code across multiple ...
3votes
5answers
1kviews

In C#, strings can be used like objects with methods, properties, and other features of objects. At the same time, strings are treated the same as primitive data types like int or float in numerous ...
-3votes
1answer
173views

I am designing my next project, which will do various domain-specific tasks, but all that will be controlled and used via a generic crud web app.I have been professionally using Java with Spring for ...
1vote
1answer
727views

I'm writing my own dynamic programming language. So far I've been using a tagged union for all values. Since this boxes primitive types needlessly, I've begun researching tagged pointers which seem to ...
0votes
1answer
599views

I've just accidentally came across this answer about inlined functions and I'd like to know how this affects call stack. But I can't add comments because I don't have enough rep so I decided to ask ...
0votes
1answer
186views

I am thinking about how to build a language VM. I have been able to get some of the basic constructs right, including jumps to functions within the chunk of bytecode that is currently loaded.But now ...
4votes
1answer
361views

I'm reading the book The Secret Life of Programs by Jonathan E. Steinhart. In it, he mentions in passing:many consider the handling of whitespace in Ruby to be a replay of of a mistake in the ...
0votes
2answers
319views

In C and C++ we need to declare a function before its usage, if its definition comes after where it is called. (Well, there is also the "implicit declaration" rule in C, but it is rarely ...
4votes
3answers
1kviews

I was reading the excellent book by Axel Raushmayer, Tackling TypeScript.In this section of Chapter 7, the author makes the interesting claimIn many programming languages, null is part of all ...
0votes
2answers
775views

There are many packages for creating bindings of a library that's written in one language to be called from another language. Some programming languages also include such interop in the standard ...
1vote
1answer
715views

PHP have what it calls "traits" which despite the name is not like traits in Rust, Scala or other languages.In many other languages with support for traits, a trait create a is-a relation. ...
Fred's user avatar
  • 509
1vote
5answers
847views

Why is there a such thing as import in programming languages? If a package does not exist, then trying to import it would cause an error anyway. So why don't languages just auto import ALL available ...

153050per page
1
2345
94

Hot Network Questions

more hot questions
Newest programming-languages questions feed

[8]ページ先頭

©2009-2025 Movatter.jp