Show HN: Handel – A procedural programming language for writing songs in browser handel-pl.github.io
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/PatientModBot
πŸ“…︎ Jan 05 2021
🚨︎ report
Having trouble understanding OOP languages coming from procedural programming after many years. Unfortunately, OOP not clicking. Any suggestions ?

Need to grasp the OOP concepts as I intend to learn Javascript and PHP to enhance salary.

Skilled at C and Pascal, both procedural of course.

Thank you fellow coders, for helping out.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/LightDarkCloud
πŸ“…︎ Aug 20 2019
🚨︎ report
Redditor explains that programming language doesn't need proper OOP because procedural apps runs faster - in a thread about JavaScript's frontend development.
πŸ‘︎ 40
πŸ’¬︎
πŸ‘€︎ u/vaig
πŸ“…︎ Feb 23 2018
🚨︎ report
a rough start to procedural programming
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/m4ntishrimp
πŸ“…︎ Mar 31 2021
🚨︎ report
So, I'm going to have a programming exam & the teacher gave us one of the questions we're going to get, What language is used in Windows 7? He said it's either Object-Oriented, Machine Language, Assembly or Basic (Procedural languages) I looked it up & the answers seem mixed. Which one's correct?

Only one is correct, According to him.

Also while we're at it, a * b * c is considered processing, Right?

πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/Namoor3
πŸ“…︎ Dec 27 2017
🚨︎ report
"How could you possible have done the first interactive graphics program, the first non-procedural programming language, the first object oriented software system, all in one year?" Ivan replied: "Well, I didn't know it was hard." en.wikipedia.org/wiki/Iva…
πŸ‘︎ 312
πŸ’¬︎
πŸ‘€︎ u/coob
πŸ“…︎ Dec 11 2009
🚨︎ report
Are there any modern languages that are purposefully built around strict procedural programming?

It seems that nearly all modern languages which get developed spend a large amount work developing a robust object system and go to great lengths to advertise their OO bona fides. I've been interested in this minority view that the OO paradigm is actually a mistake, and that a reconceptualization of robust procedural programming is in order. Brain Will has a video expressing this minority view for instance (https://www.youtube.com/watch?v=QM1iUe6IofM). First off, let me be clear: I don't want to debate the merits of OO vs procedural programming. I'm genuinely agnostic here. If being anti-OO is heresy, then let's say I'm just anthropologically interested in the what the heretics are up to.

What I'm wondering is simply this. Are there languages which try to adopt cutting edge thinking on language design and powerful tooling which are explicitly procedural?

More concretely, they make little to no concession towards the creation of classes or objects or low level encapsulation, and instead try to push the boundaries of wrangling procedural functions and the organization of code hierarchy as a set of operations on separate globally or locally scoped data.

I know that there are functional languages which sort of do this, but are there languages which are explicitly designed to be agnostic or to encourage functional or imperative styles base on the use case?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/wildgunman
πŸ“…︎ May 16 2018
🚨︎ report
What's the right functional programming language for kids, who are not poisoned by object oriented nor procedural thinking? quora.com/Whats-the-right…
πŸ‘︎ 48
πŸ’¬︎
πŸ‘€︎ u/One_More_Turn
πŸ“…︎ Jul 12 2016
🚨︎ report
VERY noob question: If you take an object-oriented programming language and avoid relying on classes, does your program become procedural?

As far as I know, these are the definitions of object-oriented and procedural programs:

Object-oriented-Where a programming task is broken down into objects, and the desired task is achieved by altering the objects' state.

Procedural: Where a programming task is solved by focusing on the order of operations in a program.

That being said, if you use an OOP language such as Java and create an application consisting of just variables/methods, and solve your problem by altering the order of operations, are you still doing OOP or is it just procedural at that point?

Sorry if this is off-topic...

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/alexmrb
πŸ“…︎ Jun 15 2017
🚨︎ report
(xpost /r/programming) Is Westworld narrative language supposed to be declarative markup or procedural?
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/m3wm3wm3wm
πŸ“…︎ Dec 05 2016
🚨︎ report
We have functional and procedural doge programming languages... why not a logic-based one?

Wikipedia article on Logic Programming for the uninformed

With the recent proliferation of doge programming languages, what's one more? I feel that logic programming would suit doge very well because it's simple and the amazing things people do with it make you go "wow!"

Programmer shibes, what do you think? What would this language look like and work like? What features would it have? Would it be entirely silly or somewhat serious?

πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/TTFire
πŸ“…︎ Apr 25 2015
🚨︎ report
The Agena programming language – Agena is an easy-to-learn procedural programming language designed to be used in scientific, educational, linguistic, graphical, and many other applications, including scripting. agena.sourceforge.net/ind…
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/stesch
πŸ“…︎ Oct 17 2010
🚨︎ report
I always hear debates about what language to teach students. Instead, I was wondering what paradigm (procedural, logic, functional, etc) you think is best for teaching programming?

It seems like the two most popular choices for pedagogy in schools today are functional programming (via Scheme) and object oriented programming (via C++ or Java). What do you think is the best paradigm in which to teach students and why?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/bridgedsuspense
πŸ“…︎ Apr 16 2013
🚨︎ report
"How could you possibly have done the first interactive graphics program, the first non-procedural programming language, the first object oriented software system, all in one year?" Ivan replied: "Well, I didn't know it was hard." youtube.com/watch?v=BKM3C…
πŸ‘︎ 59
πŸ’¬︎
πŸ‘€︎ u/spainguy
πŸ“…︎ Jul 15 2011
🚨︎ report
ELI5: Imperative, procedural, and declarative programming languages

en.wikipedia.org/wiki/Imperative_programming#Imperative.2C_procedural.2C_and_declarative_programming

All I know/understand is that c++ is a OOP language...

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/diggpthoo
πŸ“…︎ Jul 16 2013
🚨︎ report
Procedural Reflection in Programming Languages publications.csail.mit.ed…
πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/martinbishop
πŸ“…︎ Nov 24 2008
🚨︎ report
The C Book -- [some experience of using a modern high-level procedural programming language required] publications.gbdirect.co.…
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/xnhy
πŸ“…︎ Sep 08 2009
🚨︎ report
What is the best/fastest programing language for random/procedural generation?

I can't program much yet but I have a dream/idea for a game I want to make one day that has A LOT of procedural generation, so I thought might aswell learn the best/fastest programing language for that now so I don't learn one that is slow or not good with godot or random generation and have to learn a new language, so what language, or maybe languages, should I learn?

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/DragonTheDragon
πŸ“…︎ Sep 12 2020
🚨︎ report
What IDE/ Language do you recommend to get started with procedural art?

Sup everyone? So recently I've been thinking a lot about learning procedural art, but I have literally zero experience with the topic, the closest that I've ever been to it was using perlin noise to generate random terrain in 2d in unity.

With that being said, which IDE and/or language would you recommend me to start out with?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/5Daydreams
πŸ“…︎ May 08 2021
🚨︎ report
Rust programming language: We want to take it into the mainstream, says Facebook tectalk.co/rust-programmi…
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/sportifynews
πŸ“…︎ Apr 30 2021
🚨︎ report
SpaceX about the Rust Programming Language!
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/rightkill
πŸ“…︎ May 16 2021
🚨︎ report
Green Programming Languages Vs. Brown Programming Languages earthly.dev/blog/brown-gr…
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/agbell
πŸ“…︎ Apr 22 2021
🚨︎ report
"Built to Last: When overwhelmed unemployment insurance systems malfunctioned during the pandemic, governments blamed the sixty-year-old programming language COBOL. But what really failed?" by Mar Hicks, published on 31 August 2020 [United States of America] logicmag.io/care/built-to…
πŸ‘︎ 258
πŸ’¬︎
πŸ‘€︎ u/trot-trot
πŸ“…︎ May 10 2021
🚨︎ report
Gatekeeping Programming Languages w/o Any Facts
πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/Carters04
πŸ“…︎ Mar 19 2021
🚨︎ report
Are you into (or interested by) software development? The Algorand website has ~100 simple tutorials for a variety of programming languages. It's a great resource to be aware of, and you can contribute with your own guides! developer.algorand.org/tu…
πŸ‘︎ 679
πŸ’¬︎
πŸ‘€︎ u/dgellow
πŸ“…︎ May 10 2021
🚨︎ report
Programmers of Reddit whats your favourite programming language and why?
πŸ‘︎ 766
πŸ’¬︎
πŸ‘€︎ u/Due-Parfait-2009
πŸ“…︎ Mar 31 2021
🚨︎ report
What programming language does this creature run on? How would I hire one for my personal security purposes? v.redd.it/aqy3ja8cfwx61
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/speakthat
πŸ“…︎ May 08 2021
🚨︎ report
At what point does Functional programming show its use compared to procedural and object oriented?

With procedural programming, it seems like you're very focused on some sort of "domino effect." When one thing happens and completes, the next thing should begin. When that one is done, the next thing is suppose to happen. You think in terms of one thing happening after the other action just took place.

Object oriented programming seems to be on the basis of a lot of interaction with other entities in the program. Game development comes to mind like Call of Duty.

Now what is it about functional programming that seems to be the one thing it excels at. I get that concurrency and parallelism is great for functional programming. It also seems to work really well with Object Oriented in that it gives you some information regarding the object. Outside of that, I can't really seem to figure out when functional programming seems to shine.

πŸ‘︎ 5
πŸ’¬︎
πŸ“…︎ Dec 30 2020
🚨︎ report
I dont know if this counts as programming horror but i coded enchantment table language translator in enchantment table language
πŸ‘︎ 3k
πŸ’¬︎
πŸ“…︎ Apr 03 2021
🚨︎ report
Many states using antiquated programming languages for their unemployment systems ie COBOL, a half-century old language. These sometimes can't handle the demand, suffer from lack of programmers, and require extensive reprogramming for even the smallest of changes twitter.com/UnemploymentP…
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/Laylyr
πŸ“…︎ Mar 03 2021
🚨︎ report
Debate at work- A class that uses a class, procedural programming, or a method that uses external data?

Suppose I have a class called Wire. Each wire is identified by 2 ends.

The current class gives me lots of details about wires, but I need to connect the wires for some calculations.

I have connected the wires using procedural programming in my main function, but I don't think this is best. (just a guess, I don't know what is best)

Upon watching youtube videos I can use Abstraction(new class that uses the old class?), I can add a new method to the Wire class that takes an external input I generate after iterating through all instances of the Wire class, or I can leave everything in the main function.

This is somewhat a debate in my group with an ambiguous solution. Can anyone help me better understand which follows OOP practices or if a calculation is best done in procedural programming? I might use this method/class later, its too early to know.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/programmerProbs
πŸ“…︎ Dec 16 2020
🚨︎ report
RustScript: A simple functional based programming language with as much relation to Rust as JavaScript has to Java github.com/mkhan45/RustSc…
πŸ‘︎ 142
πŸ’¬︎
πŸ‘€︎ u/Fish_45
πŸ“…︎ May 05 2021
🚨︎ report
Quantleaf Language: A programming language for ambigious (natural language) programs.

In this post I will share to you, a preview of a β€œbig” programming language project I have been working on. You can run all examples below at quantleaf.com

I have for a long time had the idea that it should be possible to create far β€œsimpler” programming languages if we allow the programs to have uncertainties just like natural languages have. What this technically means is that for one sequence of characters there should be many possible programs that could arise with different probabilities, rather than one program with 100% probability.

The first consequence of this, is that it is possible to make a language that both could β€œabsorb” Java and Python syntax for example. Here are a few, acceptable ways you can calculate fibonacci numbers.

(Compact)

fib(n) = if n <= 1 n else fib(n-1) + fib(n-2) 
print fib(8)

(Python like)

fib(n) 
   if n <= 1 
       return n 
   fib(n-1) + fib(n-2)
print fib(8)

(Java like)

fib(n) 
{
   if (n <= 1) 
   {
       return n
   }
   return fib(n-1) + fib(n-2)
}
print(fib(8))

(Swedish syntax + Python Like)

fib(n) 
   om n <= 1
       returnera n
   annars
       fib(n-1) + fib(n-2)
skriv ut fib(8)

In the last example, you can see that we use Swedish syntax. The language can today be written in both English and Swedish, but can/will in the future support many more simultaneously.

Another consequence of the idea of an ambiguous programming language is that variable and function names can contain spaces (!) and special symbols. Strings does not have to have quotations symbols if the content of the string is "meaningless"

See this regression example.

"The data to fit our line to"
x = [1,2,3,4,5,6,7]
y = [3,5,10,5,9,14,18]

"Defining the line"
f(x,k,m) = x*k + m

"Define the distance between the line and data points as a function of k and m"
distance from data(k,m) = (f(x,k,m) - y)^2

"Find k and m that minimizes this distance"
result = minimize distance from data

"Show the result from the optimization"
print result

"Visualize data and the line"
estimated k = result.parameters.k
estimated m = result.parameters.m
scatter plot(x,y, label = Observations) 
and plot(x,f(x,estimated k,estimated m), label = The line)

Some things to consider from the example above: The langauge have a built in optimizer (which also can h

... keep reading on reddit ➑

πŸ‘︎ 71
πŸ’¬︎
πŸ‘€︎ u/marcus-pousette
πŸ“…︎ May 17 2021
🚨︎ report
What are some cool/wierd features of a programming language you know?

I'm asking this question out of curiosity and will to widen my horizons.

πŸ‘︎ 139
πŸ’¬︎
πŸ‘€︎ u/TizioCaio84
πŸ“…︎ Apr 12 2021
🚨︎ report
IBM's Project Codenet will teach AI to code in dozens different programming languages. Extremely vast dataset artificialintelligence-ne…
πŸ‘︎ 153
πŸ’¬︎
πŸ‘€︎ u/QuantumThinkology
πŸ“…︎ May 17 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.