Technical Fraternity : hazing in technical interviews

http://nim-lang.org/ (used to be nimrod).

Almost like writing Python, BUT, it transpiles to C before it compiles (gcc baby!). Only playing with it, haven't done anything serious yet. Prefer it over Go to be honest (Go is boring AF but great for showing people why NodeJS is a bad idea :D )

Traitor. Rust.
 
http://nim-lang.org/ (used to be nimrod).

Almost like writing Python, BUT, it transpiles to C before it compiles (gcc baby!). Only playing with it, haven't done anything serious yet. Prefer it over Go to be honest (Go is boring AF but great for showing people why NodeJS is a bad idea :D )
... and this improves on C because?

Having a preference over Go doesn't change that it's a "betting the farm" decision; I skip most frameworks for the same reasons.
 
[)roi(];18514984 said:
... and this improves on C because?

Having a preference over Go doesn't change that it's a "betting the farm" decision; I skip most frameworks for the same reasons.


It's pwettier
 
It's pwettier
hahaha... but so limited, probably down to 2 main programming leads and a funding dilemma.

...if we look at the commits; it' really a 1 person project, with some interested parties probably helping out with the documentation and the odd bug fix
Screen Shot 2016-10-18 at 1.26.54 PM.png
 
Last edited:
...but then picking something from Facebook or Google can also end painfully.
 
[)roi(];18515130 said:
hahaha... but so limited, probably down to 2 main programming leads and a funding dilemma.

...if we look at the commits; it' really a 1 person project, with some interested parties probably helping out with the documentation and the odd bug fix
View attachment 395834
Suppose one can ask why so many languages out there need continuous improvement?

I'll leave running nim in production for others. I'm using it in side projects.
 
Suppose one can ask why so many languages out there need continuous improvement?

I'll leave running nim in production for others. I'm using it in side projects.

Languages that don't adapt become.... Javascript...or die..
"Novel idea: Javascript stdlib sucks... so let's build, another language and hitch it to Javascript". Exactly how long did it take Javascript to realise that this wasn't such a good thing, and started to adapt the stdlib, now ECMAScript updates are starting to arrive yearly...

And C certainly isn't Javascript; hence we should probably ask why we need Nim hitched to it?
 
Last edited:
[)roi(];18515688 said:
And C certainly isn't Javascript; hence we should probably ask why we need Nim hitched to it?

Syntax. It counts for something.
 
[)roi(];18515688 said:
Languages that don't adapt become.... Javascript...or die..
"Novel idea: Javascript stdlib sucks... so let's build, another language and hitch it to Javascript". Exactly how long did it take Javascript to realise that this wasn't such a good thing, and started to adapt the stdlib, now ECMAScript updates are starting to arrive yearly...

And C certainly isn't Javascript; hence we should probably ask why we need Nim hitched to it?


So like I said: syntax. Honest question (since I don't know C), how would you implement this self-hosted REST service in C?

Code:
import jester, asyncdispatch
import marshal

type
    Person* = object
        first_names*, last_name*: string

routes:
    get "/person":
        var p: Person
        p = Person(
            first_names: "Hamster",
            last_name: "of Wheelistan"
        )

        resp $$p, "application/json"

runForever()

Given, jester is a lib written by one of the contributors to give you routes etc.
 
What the hell did I stumble into? And how did Droid and cguy's lovers quarrel turn into a C vs modern languages discussion?
 
[video]https://pbs.twimg.com/tweet_video/ClkmDkHVAAECHSf.mp4[/video]
 
So like I said: syntax. Honest question (since I don't know C), how would you implement this self-hosted REST service in C?

Code:
import jester, asyncdispatch
import marshal

type
    Person* = object
        first_names*, last_name*: string

routes:
    get "/person":
        var p: Person
        p = Person(
            first_names: "Hamster",
            last_name: "of Wheelistan"
        )

        resp $$p, "application/json"

runForever()

Given, jester is a lib written by one of the contributors to give you routes etc.

:erm:

Code:
#[macro_use] extern crate nickel;

use nickel::{Nickel, MediaType};

fn main() {

    let mut server = Nickel::new();

    server.utilize(router! {
        get "/rust" => |_request, mut response| {
            response.set(MediaType::Json);
            r#"{ "so": "muchbetter" }"#
        }
    });

    server.listen("127.0.0.1:1337");
}
 
:erm:

Code:
#[macro_use] extern crate nickel;

use nickel::{Nickel, MediaType};

fn main() {

    let mut server = Nickel::new();

    server.utilize(router! {
        get "/rust" => |_request, mut response| {
            response.set(MediaType::Json);
            r#"{ "so": "muchbetter" }"#
        }
    });

    server.listen("127.0.0.1:1337");
}

Is that Rust or C? I'm assuming /rust .... butt ugly :p
 
You're just becoming a python bigot again :(

Started writing a small service in it (bottle), but thinking of deploying it...I just lost interest. Syntax is pretty though :love:

What Nim did with it's whitespacing is not allow tabs. Only spaces allowed for indentation so that is a massive move in the right direction for me.

...

/gets back to C# and Delpho work :cry:
 
Started writing a small service in it (bottle), but thinking of deploying it...I just lost interest. Syntax is pretty though :love:

What Nim did with it's whitespacing is not allow tabs. Only spaces allowed for indentation so that is a massive move in the right direction for me.

...

/gets back to C# and Delpho work :cry:

HAHA delphi, hows that tab with 1000000 sql connections treating you rofl. I touched it once and said nottafk
 
Top
Sign up to the MyBroadband newsletter
X