A list of puns related to "Comparison of programming languages (syntax)"
Title basically says it all. My programming teacher says that over the years I have developped excellent knowledge of Python, but often start choosing the incorrect methods and focusing on coding rather than solving the problem at its root in my head, with a piece of paper and a pencil, and developing an algorhithm, before moving on to actually coding.
Did anyone else actually struggle with that, if yes, what helped?
I have tried Edabit and found it useful, but it is way out of my price range right now.
Here is the library https://github.com/Jaysmito101/lexpp/blob/master/extensions/syntax_parser.h
And here is a example on how to use it
https://github.com/Jaysmito101/lexpp/blob/master/examples/syntax_parser_example.cpp
I'm currently learning JavaScript and have some light experience with python (which I think is pretty easy on the eyes) but was wondering if there was a language with better syntax as everyone's always talking about the ones with the worst.
Edit: Wasnβt expecting so many replies but Iβve enjoyed reading through them. Seeing a lot of languages I didnβt expect to see or even knew existed.
In Harper's Practical Foundations of Programming Languages (http://www.cs.cmu.edu/~rwh/pfpl/2nded.pdf), is it correct that types are not involved in "dynamics" (Chapter 5), but only in "syntax" (Chapter 1) and "statics" (Chapter 4) of a programming language?
Is it correct that types are not really a concept of semantics but essentially a concept of syntax of a programming language? (If I am correct, "statics" is part of syntax?)
Thanks.
Ignoring external factors not controlled by the language itself directly, like syntax highlighting, support, knowledge base, learning resources, etc.
I imagine looking at code from the perspective of a linguist would be fascinating.
Edit: While I am interested in how programming languages are viewed, discretely, from a linguistic viewpoint, I wonder more about how linguists anticipate a growing number of people learning this method of communication with a machine will possibly affect their communication with each other as well. There are a lot of predictions out there about how the nature of work will change over the next century, and a lot of assumptions that work will become far more automated. If much larger percentages of the world population have to learn a wider variety of more in depth computer skills, it stands to reason even more people will have their first working knowledge of English introduced to them through the need to work with technology. I wonder how approaching a language trough that medium will affect it as a lingua Franca.
Edit: Thanks everyone for taking the time to help me understand the ways in which Iβve been categorizing things in an incorrect way! I seem to have been thinking on linguistics as a broader study of communication than it is. Also, I think that my reference to βprogramming languagesβ was also an incorrect categorization, when I meant to encompass a broader group of interfaces. I appreciate people taking the time to explain this stuff to me. I really wasnβt trying to come across as a know it all, Iβm aware my knowledge is pretty limited. If I played devils advocate with you, my intention was to draw out more information, not necessarily refute your statement.
Hello, since I use a different keyboard layout other than qwerty, can I customize all the keyboard shortcuts? And is it possible to change to the different syntax for a different programming language? If you want can you also share your experience as a developer using neovim? Also, can you explain what config file does in neovim, and what language does it use? (please provide a tutorial or a link to my questions, thanks!!)
^(P.S: please upvote this post, not a lot of people replied to my previous post, thanks if you did)
I want to create a new vim syntax checker for a new programming language that is not used widely, first i tried to read the code of the follwing plugins neomake, syntastic , and Ale in order to understand how i can build my own syntax checker plugin but i could not really get it so i just want know what is the best and easy way to create syntax checker plugin for vim
^
This helped me when I wanted to learn JavaScript really fast to start developing web apps (I knew some basic things in C++). Though you would probably need a basic experience in any other language. This could form a good base to start practicing right away.
(I don't know if this has been posted earlier. I thought this is a really useful website everyone should know.)
Mun is a programming language with a Rusty-syntax, written in Rust, statically typed, with emphases on embedding and hot reloading. I first learned of Mun through an r/rust post a month ago, and I see that a new Mun-related post was just submitted a few hours ago.
Dyon describes itself as a rusty dynamically typed programming language. It is also written in Rust. I have only just learned about it from this r/rust discussion.
I would be interested in a comparison of the two programming languages from those who are more familiar with them. At first glance, they seem to have similar goals, although static vs. dynamic typing is one obvious differentiator.
While I'm at it, are there any other Rusty programming languages in the works? Given their similarities, I'm somewhat surprised that Dyon was not mentioned by anyone in the Mun discussion a month ago. Maybe I'm overestimating how similar they are to each other.
Yes I know this is a very niche post but it sort of fits in this subreddit.
Basically, i prefer the classic B/C/C++ syntax of programming languages as opposed to the bs you get nowadays like with swift or rust. I mean, I dont hate swift and rust with a passion, but who needs all that fn my_function(arg: i32, cock: balls) - f64
bullshit?
Like its all just unecessary, yet all modern programmers fawn over this shit. Weird syntaxes dont bring anything new, they dont help and its just dumb.
And FUCK python and its indent syntax bullshit.
That will be all. (Oh and on a slightly related note, I do Java as my main language, and I dont think Java is a bad language at all)
When reading someone else's code, in a GitHub repo or a YouTube video, I occasionally come across many weird syntaxes that I don't know the name of and what they are doing there. Sometimes the syntax is too complex to be expressed in a Google search query. What would you do in those situations? Is there a website where I could put in a line of code and it will explain to me what is going on? Something similar to explainshell.com but for programming languages like Python or JS?
I'm interested in the origin and development of syntax and concepts in programming languages. Wikipedia has some resources on syntax, but it's limited. And it's tough to find "the first" language to do a specific thing since many languages are general purpose and regularly implement new features, etc.
I want to know the answers to questions like
Does anyone know of any good resources which cover any of these areas? Ideally citing primary sources.
I'd be interested in a sort of genealogy of languages as they introduced and developed new syntax and features, and how new languages distinguished themselves from older ones, etc. But with specific examples, not just "Java evolved from C++ but used automatic memory management". A bit more detail, please!
I would be extremely grateful for any help!
I want to create a new vim syntax checker for a new programming language that is not used widely, first i tried to read the code of the follwing plugins neomake, syntastic , and Ale in order to understand how i can build my own syntax checker plugin but i could not really get it so i just want know what is the best and easy way to create syntax checker plugin for vim
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.