News for hackers. Stuff that matters.
Re:There Are Three Programming Paradigms (2013) by hardwaresofton on Thursday February 09, 2017 @10:05PM (#13612946)
Last time I visited C2 it was just a site that served up HTML, what is this new async loader business it's doing?

As a result, I can't see the actual content... I assume the three paradigms were:

1. Imperative

2. Functional

3. Logic-based?

Re:There Are Three Programming Paradigms (2013) by sien on Thursday February 09, 2017 @11:13PM (#13613165)
This is what they taught at University in Australia 20 years ago.

Wikipedia's programming paradigms page has ummm, more than is worth easily counting.

https://en.wikipedia.org/wiki/Programming_paradigm

It also features Homoiconic programming paradigm that so many interviews ask questions about these days.

Re:There Are Three Programming Paradigms (2013) by TeMPOraL on Friday February 10, 2017 @04:34AM (#13614276)
> Homoiconic programming paradigm that so many interviews ask questions about these days.

What? You're telling me that companies discovered Lisp?

Re:There Are Three Programming Paradigms (2013) by throwaway7645 on Friday February 10, 2017 @05:15AM (#13614404)
Rebol...and upcoming Red/RedSystem are homoiconic too and might be more accessible if you aren't a big lisp fan.
Re:There Are Three Programming Paradigms (2013) by TeMPOraL on Friday February 10, 2017 @05:49AM (#13614519)
Sure, but besides maybe Clojure, I don't know of any homoiconic language that'd be popular enough in the industry that you'd expect questions about this showing up on interviews...
Re:There Are Three Programming Paradigms (2013) by throwaway7645 on Friday February 10, 2017 @12:40PM (#13617222)
You won't get an argument from me there. If it's a standard business logic Java/C# shop you won't get those questions.
Re:There Are Three Programming Paradigms (2013) by jstimpfle on Friday February 10, 2017 @11:41AM (#13616697)
These days it seems to be imperative to use async loaders. Are they more functional? Is there a logical reason to use them?
Re:There Are Three Programming Paradigms (2013) by marssaxman on Friday February 10, 2017 @02:00PM (#13617921)
Is "async loader" the thing where a page comes up as nothing but a list of URLs, unless you turn on Javascript? I see that with Instagram links - it's not even blank, it's just a plain list of URLs.
Re:There Are Three Programming Paradigms (2013) by jstimpfle on Friday February 10, 2017 @02:21PM (#13618060)
Async just means that there is a script, which, some time after the page is technically "fully loaded", starts to load some more! That's useful for updates or actions that should occur without a complete page reload (which would discard the "user state").

It doesn't necessarily mean you see an URL list. It can be implemented by storing the list in Javascript code - and you don't "see" that Javascript code.

The method you mention (mis)uses HTML Tags as datastore for the URLs list.

Re:There Are Three Programming Paradigms (2013) by test1235 on Friday February 10, 2017 @04:59AM (#13614364)
Pastebin for you (and anyone else having problems):

http://pastebin.com/bN8kemqz

Re:There Are Three Programming Paradigms (2013) by ivan_ah on Thursday February 09, 2017 @10:48PM (#13613066)
correct!