Basic Comparison of C# and Apple Swift Programming Language Syntax pietschsoft.com/post/2014…
πŸ‘︎ 354
πŸ’¬︎
πŸ‘€︎ u/yourbasicgeek
πŸ“…︎ Jun 10 2014
🚨︎ report
Is there any great website where I can practice programming, but not syntax or language wise, but logic and maths wise? I notice myself knowing my language of choice, Python, quite well, but struggling to solve rather simple mathematical tasks or problems.

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.

πŸ‘︎ 124
πŸ’¬︎
πŸ‘€︎ u/airyrice
πŸ“…︎ Dec 30 2021
🚨︎ report
What's the point of learning programming languages with alot of syntax, like C++, if there's going to be languages that will be easier to learn in the future?
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/DennerSlabz
πŸ“…︎ Jan 25 2022
🚨︎ report
A small and easy to use library for tokenising syntax of about 20 different programming languages also has it own api for custom languages
πŸ‘︎ 38
πŸ’¬︎
πŸ“…︎ Dec 28 2021
🚨︎ report
Huge one-page comparison of syntax across programming languages merd.sourceforge.net/pixe…
πŸ‘︎ 47
πŸ’¬︎
πŸ‘€︎ u/pbx
πŸ“…︎ Feb 25 2006
🚨︎ report
It amazes me how this development thing works. Everyone just produces unfinished works, that are built on top of unfinished frameworks etc… Lets stop making all these programming languages on top of other ones and instead make on that syntax is like English instead. webaim.org/blog/user-agen…
πŸ‘︎ 65
πŸ’¬︎
πŸ‘€︎ u/alexflyn
πŸ“…︎ Oct 28 2021
🚨︎ report
Does anyone know how much of the C programming language is covered in CS50? Looking for a rough percentage of coverage all the features, syntax etc.
πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/SwimmingFox3530
πŸ“…︎ Oct 30 2021
🚨︎ report
Which programming language has the best syntax?

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.

πŸ‘︎ 286
πŸ’¬︎
πŸ‘€︎ u/marvobi21
πŸ“…︎ Nov 23 2021
🚨︎ report
I wrote my own programming language for my interactive fiction game's story. On launch, it compiles and parses the code into Chapter, Scene, and Choice classes. Syntax highlighting courtesy of Notepad++
πŸ‘︎ 252
πŸ’¬︎
πŸ‘€︎ u/adamrendo
πŸ“…︎ Aug 04 2021
🚨︎ report
Is it correct that types are not involved/used in semantics but syntax of a programming language?

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.

πŸ‘︎ 34
πŸ’¬︎
πŸ‘€︎ u/timlee126
πŸ“…︎ Jul 31 2021
🚨︎ report
Is there any research about readability of programming language syntax, or comparing readability of current programming languages?

Ignoring external factors not controlled by the language itself directly, like syntax highlighting, support, knowledge base, learning resources, etc.

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/oxamide96
πŸ“…︎ Aug 09 2021
🚨︎ report
English is a widely used language for many reasons, but it dominates the tech world. Programming languages are essentially conlangs (I think, I’m no expert), and the vast majority of widely used ones have English based syntax. Is there a wide interest in academia surrounding this?

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.

πŸ‘︎ 262
πŸ’¬︎
πŸ‘€︎ u/dookalion
πŸ“…︎ Nov 29 2020
🚨︎ report
Use English language when naming your variables and functions. Like it or not, English is the dominant language in programming: the syntax of all programming languages is written in English. reddit.com/r/PHP/comments…
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/32gbsd
πŸ“…︎ Jan 19 2021
🚨︎ report
​ How to customize keyboard shortcuts and syntax (for different programming languages)?

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)

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/Dennis-He
πŸ“…︎ Nov 03 2021
🚨︎ report
Is β€œparadigm” a word with meaning in syntax or semantics of programming languages? /r/compsci/comments/lmtah…
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/timlee126
πŸ“…︎ Feb 19 2021
🚨︎ report
Create syntax checker vim plugin for a new Programming language

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

πŸ‘︎ 4
πŸ’¬︎
πŸ“…︎ Oct 07 2021
🚨︎ report
Learn the syntax of any programming language really fast, like in minutes

Learn X in Y Minutes

^

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.)

πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/1TMission
πŸ“…︎ Dec 26 2019
🚨︎ report
Comparison of Mun and Dyon, two Rusty programming languages written in Rust?

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.

πŸ‘︎ 33
πŸ’¬︎
πŸ‘€︎ u/code-affinity
πŸ“…︎ Jul 07 2020
🚨︎ report
I've been programming for about fifteen years and I finally realized that the reason I can listen to loud music whilst coding is because I don't pay any attention to syntax, it just flows out correctly, in any language I know. I think of higher level abstractions. wiki.c2.com/?RealProgramm…
πŸ‘︎ 148
πŸ’¬︎
πŸ‘€︎ u/ztwizzle
πŸ“…︎ Jul 23 2020
🚨︎ report
I loathe the syntax of "modern" programming languages

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)

πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/AIDS_fart_booger
πŸ“…︎ Nov 14 2020
🚨︎ report
For Fun: My Favorite Pieces of *Syntax* in 8 Different Programming Languages medium.com/@yakko.majuri/…
πŸ‘︎ 60
πŸ’¬︎
πŸ‘€︎ u/brodagaita
πŸ“…︎ Jul 16 2020
🚨︎ report
Rust vs Golang | Detailed Comparison of Top 2 Programming Languages educba.com/rust-vs-golang…
πŸ‘︎ 52
πŸ’¬︎
πŸ‘€︎ u/OctagonClock
πŸ“…︎ Dec 22 2019
🚨︎ report
Is there a quick way to search for what a particular syntax does in a programming language?

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?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Snoo_what
πŸ“…︎ Oct 23 2021
🚨︎ report
Books on Lineage of Programming Language Syntax and Concepts?

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

  • what was the first language to implement pattern matching?
  • how did type systems evolve over time?
  • what different approaches to scoping have been tried?
  • which languages allow for implicit type conversions?
  • is Rust's idea of reference ownership / borrowing novel?

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!

πŸ‘︎ 53
πŸ’¬︎
πŸ‘€︎ u/_awwsmm
πŸ“…︎ Aug 04 2020
🚨︎ report
I find syntax highlighting awful for actual programming (it's sort of useful for the first few days of learning a new language). It makes code less readable, and encourages some of the worst practices of programming. People have written tons about this. At its best, it's a crutch. news.ycombinator.com/item…
πŸ‘︎ 142
πŸ’¬︎
πŸ‘€︎ u/bsdcat
πŸ“…︎ Dec 10 2019
🚨︎ report
Programming in many languages, and switching back and forth, I was looking for something with syntax and basics to make a working snippet like example file for myself. Found this gem. learnxinyminutes.com/
πŸ‘︎ 581
πŸ’¬︎
πŸ‘€︎ u/megaman5
πŸ“…︎ May 29 2021
🚨︎ report
GitHub - peregrine-lang/Peregrine: An easy to use systems programming language with Python-like syntax. github.com/peregrine-lang…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/cmeslo
πŸ“…︎ Oct 07 2021
🚨︎ report
analog: Analogous, indented syntax for the Rust programming language github.com/asvln/analog
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/_ChrisSD
πŸ“…︎ Sep 19 2021
🚨︎ report
What the developers of PHP were considering for their syntax. Just a reminder that the most hated programming language could have been so much worse. en.wikipedia.org/wiki/PHP…
πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Dec 15 2020
🚨︎ report
What's the point of learning programming languages with alot of syntax, like C++, if there's going to be languages that will be easier to learn in the future?
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/DennerSlabz
πŸ“…︎ Jan 25 2022
🚨︎ report
Create syntax checker vim plugin for a new Programming language

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

πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Oct 07 2021
🚨︎ report

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.