Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jerry

Pages: [1]
1
General Discussion / Syntax highlighting for vim
« on: December 02, 2016, 11:25:24 AM »
Hi All,

I wanted to let you know I have put some effort in vim syntax highlighting:
https://github.com/xor-gate/c2.vim

It probably has some rough edges, but it is functional.

2
Joining / Introducing myself (jerry)
« on: December 02, 2016, 11:07:05 AM »
Hi all,

I'm not sure this is the right place but I woud like to introduce myself.

I'm Jerry 27 years old and have a bachelor degree in Embedded Systems.
I have been programming C (and other languages) now for approximate 10 years.
I'm running (and building) linux also as long as I'm programming C.

I'm excited to see a improved C but with modern syntax, faster development time and better compilation speed.

Kind regards,
Jerry
- For the curious: https://about.me/jerryjacobs

3
Ideas / Re: Struct Functions - part 2
« on: December 02, 2016, 10:34:01 AM »
In my opinion this is not a problem. Some other syntactical quirck which looks redundant is the myStruct_<func> naming. I'm not saying we could do it the same way as Golang does but it removes the redundancy. Like this (in golang)

Code: [Select]
type MyStruct struct {
  a int
  b int
}

func (v *MyStruct) init() {
 v.a = 1
 v.b = 2
}

This is written here: https://golang.org/ref/spec#Selectors

Its just an idea to minimize the amount of typing.

Pages: [1]